Live data from Hacker News

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

news.ycombinator.com

51–60 of 294 posts

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

#54
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.

Inversely, this is counteracted by the logic to not use Git:

https://sqlite.org/whynotgit.html

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

#55

Python core libraries have great code. You can open pretty much any module and be able to understand the source without much context.

You obviously did not dig in :D There are absolutely terrible parts, would not recommend!

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

#57
post #10

OpenBSD and Co. (OpenSSH, etc.) * https://cvsweb.openbsd.org/src/ * https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/ * https://www.libressl.org/ * https://cvsweb.openbsd.org/src/usr.sbin/ntpd/

Just wanted to +1 this.

Once had to make some changes to OpenSSH for an internal project and it was surprisingly easy to find the relevant code and make the necessary changes. One of the few times my code worked on the first compile.

Post reply on HN