Lurker News
I 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 comments
0mbre#
Thanks for the links!
hartator#
I think the best codebases are the ones you immediately think “Oh, that’s easy. I can reimplement that in a couple of hours.”. When it's not. It’s never easy.
kostarelo#
I've been enjoying reading Spectrum's codebase[0]. It's very simple, with little documentation you can understand pretty much what is going on and in the architecture level, is as simple as it needs. The first time I tried to open a PR, I was up and running my feature in a few minutes.

Small summary of the features I liked:
- Simple documentation
- Intuitive structure
- Lots of JS best practices, but still simple
- Event-driven architecture
- A simple API gateway that will just fire events to workers
- Properly divided workers (kind of microservices but with lots of shared code)
- Monorepo
It recently been bought by GitHub(1) and was discussed here(2).
The author has talked in his blog about some decisions he took wrong. Super interesting post(2).
0. https://github.com/withspectrum/spectrum
1.https://spectrum.chat/spectrum/general/spectrum-is-joining-g...
2. https://news.ycombinator.com/item?id=18570598
3. https://mxstbr.com/thoughts/tech-choice-regrets-at-spectrum/

GoMonad1 reply#
Anything by John Carmack. (DOOM's open source release, for example)
dongecko1 reply#
I'd second that. Some years ago I had a look at the quake 3 bots code, which I think were also written by John Carmack. The code was amazingly intuitive.

Load more comments