[HN Gopher] Ask HN: What's a small example of some of the best c...
___________________________________________________________________
Ask HN: What's a small example of some of the best code ever
written?
I want to be able to hold some smallish number of lines of code and
say "it is generally agreed that this code is amongst the best
examples of programming that there is". Does anyone have any
suggestions for such examples? Any language is fine. As long as
there's some way to say "look, here is where people say this is
great code".
Author : andrewstuart
Score : 5 points
Date : 2022-08-29 22:25 UTC (36 minutes ago)
| belltaco wrote:
| "Best" is relative, but here's an example of "clever" code that
| actually shipped in a very popular game, it's just 8 lines.
|
| https://betterexplained.com/articles/understanding-quakes-fa...
|
| Also a lot of 4k demo scene have some great looking videos
| rendered purely by a small amount of code.
|
| https://en.wikipedia.org/wiki/Demoscene
|
| https://www.youtube.com/watch?v=W58r7oycUrA
| ozten wrote:
| Alan Kay has famously cited the half page of code on page 13 of
| the Lisp 1.5 manual as the "Maxwell's Equations of Software"
|
| https://www.gnu.org/software/mes/manual/html_node/LISP-as-Ma...
___________________________________________________________________
(page generated 2022-08-29 23:01 UTC)