Ask HN: What open source project, in your opinion, has the highest code quality?
111–120 of 294 posts
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#112I'm a bit surprised nobody mentioned qmail yet: https://cr.yp.to/qmail.html
djb is a legend
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#113This 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
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#114Python core libraries have great code. You can open pretty much any module and be able to understand the source without much context.
I don't know how you can say this. The standard lib isn't even very pythonic, let alone "great" along other dimensions.
I consider the Python stdlib in a similar vein as the C++ stdlib or Boost: Yes, some useful bits in there, but (1) lots of rot (2) you don't want to have your code look anything like it.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#115Projects written in C require a fair amount of care and discipline to be scaled up to larger codebases and teams. PostgreSQL is such a codebase.
I've also seen various parts of Spring's codebase and found all of it to be consistently solid and careful. They take a lot of care to structure carefully and comment immaculately.
Disclosure: I work for Pivotal, which sponsors Spring. Which is why Spring is highly visible in my working life.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#116The performance reached by the game was considered impossible until Carmack did show us otherwise. So I expected lots of ASM and weird hacks, especially as compiler optimization wasnt as good as it is today.
Surprise, surprise, the thing was easy to read, easy to get going, easy to port, reasonablye documented . It has shown me what a goog balance between nice code and usable code is.
If you want tho browse: https://github.com/id-Software/DOOM
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#117Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#118SQLite. 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.
Tangent: I always thought SLOC means "significant lines of code". Since "code" is a shortand for "source code", expanding SLOC as "source lines of [source] code" makes little sense, IMO.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#119LLVM and associated projects such as clang. Bazel is good too. OkHttp and Retrofit by Square.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#120Earlier quoted context omitted.
It is not, the compiler has been pure Go since, I think, v1.4.
That doesn't invalidate the parent comment :) The code is pure Go, but parts of it originate in C by means of automatic translation during development of Go 1.4 (or whichever version it was).