The early Go standard library (before it was hyper-optimized.)
Ask HN: What's the best source code you've read?
41–50 of 271 posts
Re: Ask HN: What's the best source code you've read?
#42One of the most surprisingly clear code bases is LLVM. It’s an old complex beast, yet it’s organized beautifully. I mean, it has a lot of essential complexity but little accidental complexity. That’s usually what I strive for when coding. Complexity is sometimes unavoidable, that’s fine, that’s why it’s essential. However, avoidable complexity should be… well… avoided.
Re: Ask HN: What's the best source code you've read?
#43The BSD sources were sanely laid out, documented and had a beautiful coding style that made the code easy to read. Free- and NetBSD even had version control.
Re: Ask HN: What's the best source code you've read?
#44It’s not the best, far from it, but it was fascinating to me so I will share. I used to work for a large newspaper. Engineering wasn’t the focus of the business, it was only a means to an end, it was just something they needed to have a competitive website. As a result, the churn rate was very high. But more interesting there was also a very high return rate. Engineers would come and go and return and leave again all…
I can't emphasize enough that this notion is only a side point in the story and not a main aspect of the plot, sadly, so I wouldn't go reading it in hopes of hearing more. (Although it is a great book regardless.)
I have often considered trying to write a scifi novel centered around this idea because I find it so fascinating.
Re: Ask HN: What's the best source code you've read?
#45Re: Ask HN: What's the best source code you've read?
#46My own - hell is other people’s code.
Re: Ask HN: What's the best source code you've read?
#47I don't know if it is the most elegant, or concise, or l33t, but I am in love with Polly https://github.com/App-vNext/Polly
Re: Ask HN: What's the best source code you've read?
#48Re: Ask HN: What's the best source code you've read?
#49My own - hell is other people’s code.
My code looks like a poem, others looks like chicken scratch.
Re: Ask HN: What's the best source code you've read?
#50One of the most surprisingly clear code bases is LLVM. It’s an old complex beast, yet it’s organized beautifully. I mean, it has a lot of essential complexity but little accidental complexity. That’s usually what I strive for when coding. Complexity is sometimes unavoidable, that’s fine, that’s why it’s essential. However, avoidable complexity should be… well… avoided.
Quoted post unavailable.