3 ms·
UNIX v6 source code: http://v6.cuzuco.com/v6.pdf http://v6.cuzuco.com/v6.pdf A tiny C-subset JIT: https://news.ycombinator.com/item?id=8746054 https://news.y
by userbinator 10y ago
UNIX v6 source code:
http://v6.cuzuco.com/v6.pdf http://v6.cuzuco.com/v6.pdf
A tiny C-subset JIT:
https://news.ycombinator.com/item?id=8746054 https://news.ycombinator.com/item?id=8746054
It might even be controversial to suggest these are examples of "good code" today, because the majority of code I've seen lately seems to be overly verbose and complex. In contrast, these are extremely simple and concise for the amount of functionality they contain. I think this style has unfortunately disappeared over the decades of promoting lowest-common-denominator so-stupid-even-an-illiterate-could-read-it coding styles and enterprise OOP design-pattern bloat-ism, but when I think of "good code", I don't think of Enterprise Java; I think of code which, upon being told what it does, makes you think "wow, I never thought it would be so simple."