Live data from Hacker News

Ask HN: What open source project, in your opinion, has the highest code quality?

news.ycombinator.com

91–100 of 294 posts

Re: Ask HN: What open source project, in your opinion, has the highest code quality?

#91
post #65

LLVM and associated projects such as clang. Bazel is good too. OkHttp and Retrofit by Square.

LLVM is remarkable; the domain is both difficult and critical. Still, the code is consistent enough that I can often guess how things work based on what I think would be reasonable!

Don't look how inline assembly is handled between clang and llvm.

Re: Ask HN: What open source project, in your opinion, has the highest code quality?

#92
post #40

SQLite. and for this reason alone! https://www.sqlite.org/testing.html As of version 3.23.0 (2018-04-02), the SQLite library consists of approximately 128.9 KSLOC of C code. (KSLOC means thousands of "Source Lines Of Code" or, in other words, lines of code excluding blank lines and comments.) By comparison, the project has 711 times as much test code and test scripts - 91772.0 KSLOC.

And all that is public domain: https://www.sqlite.org/copyright.html

Not all of the test suite is public domain. That's how the authors maintain a monopoly on improvements to the code.

Re: Ask HN: What open source project, in your opinion, has the highest code quality?

#95

This is not necessarily about the code, but I've been really impressed for a while by the lodash project and its maintainer's dedication to constantly keep the number of open issues at 0. Any issues get dealt with at record speed, it's quite a sight to see. https://github.com/lodash/lodash/issues

Never noticed this.

Re: Ask HN: What open source project, in your opinion, has the highest code quality?

#96
post #38

I hold the source code of Go standard library & base distribution (i.e. compiler, etc.) in very high regard. Especially the standard library is, in my opinion, stunningly easy to read, explore and understand, while at the same time being well thought through, easy to use (great and astonishingly well documented APIs), of very good performance, and with huge amounts of (also well readable!) tests. The compiler (includ…

The fact that almost everyone uses the same style and standards through the go tools has made learning easy. I can dip into the most advanced package and make sense of what's going on quickly.

Re: Ask HN: What open source project, in your opinion, has the highest code quality?

#97

Both Vue and PostgreSQL. Both have great code base. Amazing documentation. And amazing communities.

Nice to see you include / mention docs and community. I believe a code-based product has a UX. That UX is the code (with comments), documentation and community. That UX is your (i.e., a dev / engineer) end to end experience with "the product." It's not simply the code.

Put another way, there's more to a product that's easy and sensible to work with than code quality.

Re: Ask HN: What open source project, in your opinion, has the highest code quality?

#98
post #38

I hold the source code of Go standard library & base distribution (i.e. compiler, etc.) in very high regard. Especially the standard library is, in my opinion, stunningly easy to read, explore and understand, while at the same time being well thought through, easy to use (great and astonishingly well documented APIs), of very good performance, and with huge amounts of (also well readable!) tests. The compiler (includ…

As far as I know, parts of the compiler are still code automatically translated from C, so this may be part of the reason.

It is not, the compiler has been pure Go since, I think, v1.4.
Post reply on HN