Ask HN: What are the “best” codebases that you've encountered?
392 pointsI am rather fond of the concepts described in "Clean Code" by Robert Martin but it seems that in real life, a really high-quality codebase is hard to come by.
While I am asking myself this question, the only one that popups to my mind would be Laravel: https://github.com/laravel/laravel (PHP)
One could think that a codebase as popular as React (https://github.com/facebook/react) would be a perfect example of "clean code" but with a glance, I personally don't find it very expressive.
This may all be very subjective but I would love to see examples of codebases that member of this community have enjoyed working with
Comments (269) 82 threads
Earlier commentsThat thing is the epitome of a framework for frameworks sake.
Pretty sure Most of Martin's talks begin by complaining about this sort of thing?
Go on
PHP already is the "framework" and every time you load a page it's executing the script from scratch. You're wasting a lot of time loading a framework to handle control flow for your program which doesn't have any control flow in the first place.
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Not only is it a robust, pleasant, framework with batteries included but there's also an entire ecosystem/platform of related products that are pretty big time savers:
spark[1], forge[2], envoyer[3], and horizon[4].
And, as an aside, the documentation is good and there are some pretty great tutorials too[5]
What am I missing?
[0] https://github.com/laravel/laravel
[1] https://forge.laravel.com/
[2] https://spark.laravel.com/
[3] https://envoyer.io/
[4] https://horizon.laravel.com
[5] https://laracasts.com/
Continue this thread — 5 replies
We're not talking usefulness here we are talking about clean code.
Architecture is not only correlated but causal in this situation.
It's over architecture is the problem. It's nano functions are a positive side effect but don't change the indirection problems you face.
All comments shown.
Couldn't load more comments. Check your connection and try again.