2026-07-27 00:15 UTC
Loren Carpenter (RIP), when I worked with him on the sigma buffer, wrote insanely optimized but terse code using intrinsics, but helpfully left comments referring to "Knuth TAOCP Vol2" and a page number about some constants. I'm pretty sure nobody below the age of 30 (40?) has a copy of The Art of Computer Programming just lying around to cross check those constants.
(4/10)
Replies (1)
-
@levork@graphics.social 2026-07-27 00:15
Someone 25+ years ago had a predilection for "single return from every function", which left their code with 10+ levels of indentation, which very quickly got out of hand with 8-character tabs and 80 character screens. Someone else used to believe that fixed size arrays of 256 were okay because surely no-one would ever use that many things, ever (HAHA production rendering SNORT). A few of those 256s persist in the code, like Cthulhu slumbering gently in the depths.. (5/10)