2026-07-27 00:15 UTC
Tom Duff is the inventor of the Duff Device, so you can imagine what kind of code he might write. But he also left a comment in the implicit field code which was a quote from the Preface to Samuel Johnson's Dictionary, from 1755. That's just who he is.
(In a fit of hubris, many years later when I refactored the code, I left an answering comment which was a quote from the Preface to Noah Webster's "An American Dictionary of the English Language. I'm not sure Tom ever noticed this.)
(3/10)
Replies (1)
-
@levork@graphics.social 2026-07-27 00:15
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)