Live data from Hacker News

Ask HN: What are the “best” codebases that you've encountered?

news.ycombinator.com

11–20 of 278 posts

Re: Ask HN: What are the “best” codebases that you've encountered?

#12
Because of ego, I'm going to plug my own (a Java parsing tool): https://github.com/norswap/autumn4

And hopefully I can some constructive criticism :)

For something not from me but still in Java, the Proguard source code is very clean: https://sourceforge.net/p/proguard/code/ci/default/tree/

Re: Ask HN: What are the “best” codebases that you've encountered?

#13
post #9

I'm really curious how you see laravel as a shining example of clean code? That 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?

> That thing is the epitome of a framework for frameworks sake.

Go on

Re: Ask HN: What are the “best” codebases that you've encountered?

#15
For a C codebase, Postgres[1] wins for me hands down. It's clean and suuuuuuper well commente, such that with a little context you can dive into something very complex and still get a feel for what is going on.

[1]: https://github.com/postgres/postgres

Re: Ask HN: What are the “best” codebases that you've encountered?

#16
The Codemirror codebase [0] is simply written and richly commented, and using Codemirror itself in a project is a pleasure.

Tellingly, Marijn Haverbeke, Codemirror's creator, is also the author of the excellent 'Eloquent Javascript' [1].

[0] https://github.com/codemirror/codemirror

[1] http://eloquentjavascript.net/

Re: Ask HN: What are the “best” codebases that you've encountered?

#17

What do you like about Laravel and dislike about React? I like the Linux kernel codebase: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

At some point in Martins book, he mentioned a forgotten codebase from one of his friend that was solely composed of tiny functions but yet achieve a fairly complex effect. That's the kind of feeling I had working at Laravel (admittedly it's been a few years). React codebase, on the other hand, seem less human-friendly, it seems to require some prior knowledge of the code to be able to dive into.

Re: Ask HN: What are the “best” codebases that you've encountered?

#18
many mature frameworks have good standards. For php you can look at any code base that adbides by PSR standards and get good code.

Not only that but laravel is in a mature space where the problems are already solved. Its basically reinventing the wheel.

Im not surprised that Laravel is written cleanly but I hate its API. It reminds me of the bloat of Zend but with an obnoxious artsy style added to it.

Im an engineer not an artisan.

Re: Ask HN: What are the “best” codebases that you've encountered?

#19
post #9

I'm really curious how you see laravel as a shining example of clean code? That 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?

A software's usefulness is not correlated to how well it was architected. What I like about Laravel is that its fairly complex code base that is mostly composed of tiny and expressive functions
Post reply on HN