News for hackers. Stuff that matters.
Re:Writing Good Code Is a Lot Like Writing Prose by gbrown_ on Tuesday July 11, 2017 @06:02AM (#14742840)
Whether you use it or not the Illumos code base[1] is one of the most well written I've seen in this respect.

[1]https://github.com/illumos/illumos-gate

Re:Writing Good Code Is a Lot Like Writing Prose by thedonkeycometh on Tuesday July 11, 2017 @06:05AM (#14742853)
Can you explain further?
Re:Writing Good Code Is a Lot Like Writing Prose by gbrown_ on Tuesday July 11, 2017 @06:57AM (#14743072)
It's very well commented and often flows like prose. Many files start with large block comments outlining intent, design, and implementation. Further code is then annotated as appropriate. The libumem stuff is a good example.

https://github.com/illumos/illumos-gate/blob/master/usr/src/...