Earlier quoted context omitted.
But to be honest, this is mostly fair criticism. Not sure why they need some of those things, but if they need it, then it's fine.
It's explained in more depth here: https://fossil-scm.org/fossil/doc/trunk/www/fossil-v-git.wik... Essentially, git is designed for the "bazaar" development model, while Fossil is designed for the "cathedral" one, which is what SQLite uses, being developed by just three guys working very closely together.
Ask HN: What open source project, in your opinion, has the highest code quality?
281–290 of 294 posts
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#282The requests codebase is really well written and it has a beautiful api https://github.com/requests/requests
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#283Julia. Julia / Julialang is so pedantically tested and the names are pretty meticulously chosen. The algorithms in Base are almost all generic and handle a very wide variety of inputs without catering to them. If you want to learn Julia, along with good software engineering, looking at the Base library is quite recommended.
Did not look to much into it but at least a packager from Alpine Linux does not think Julia's compiler ecosystem is clean/easy to work with: http://lists.alpinelinux.org/alpine-devel/6248.html But as said, I did not really checked this claim for validness myself...
But anyways, I was talking about the Julia Base library and its numerical routines. I just look at the Julia code and don't touch the build systems.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#284After spending about a month of concerted effort pouring through the zlib sources, looking for vulnerabilities, I can say that zlib is the most astonishingly bug-free code I've ever seen. But in the conventional understanding of "code quality", it's pretty bad.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#285I 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…
> standard library is, in my opinion, stunningly easy to read 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?
#286Earlier quoted context omitted.
for sure not. OpenBSD makes no attempt to use proper performance which is critical for a kernel. there are so many naive ad-hoc data structures and algos, it's a shame to walkthrough.
How is performance related to code quality. That makes no sense. If anything, if you had to inline ASM for example, the code would suffer from readability.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#287Earlier quoted context omitted.
> standard library is, in my opinion, stunningly easy to read 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!
not c++ stl. Very obscure.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#288Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#289When we take the language into consideration, unwound like to mention Redis. Often codebases written in C are a a mess to understand, a mess to read. The Redis Source Code is understandable even without deep knowledge of C
Came here to say exactly this - Redis is very cleanly written.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#290Typescript Even though it’s a fairly complex transpiler, the authors did a good job modularizing and leaving lots of contextual comments on what each part does. Also typescript baseline tests are a simple but very effective way to get lots of coverage on the compiler. I’ve read source code for Babel, typescript, coffeescript and flow. Typescript architecture stands out. Typescript not only does fascinating things lik…
I found the TypeScript type checker pretty hard to read through, though it may be my lack of, well, almost any knowledge about type theory. I didn't dig much into the other parts of the codebase however. What parts of it do you enjoy reading?