Python core libraries have great code. You can open pretty much any module and be able to understand the source without much context.
Ask HN: What open source project, in your opinion, has the highest code quality?
81–90 of 294 posts
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#82I 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…
Reading this brought to mind the JDK. All well structured, neatly formatted and well documented. I’ll often just click thru to the source to get the nitty-gritty on a function, I rarely need to consult the actual docs!
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#83[1] https://github.com/ARMmbed/mbedtls
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#84Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#85SQLite. 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?
#86Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#87Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#88SQLite. 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.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#89SQLite. 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.