Hacker News new | ask | show | jobs
by randcraw 2669 days ago
Maybe Programming Pearls achieves what Beautiful Code did not? Or Hackers Delight?

I think it's hard for code to be beautiful when it's mostly glue (calling libraries) rather than implementing a basic task (like sorting). As such, most modern (glue) languages are less likely to evoke aesthetic wonder in the reader than might a simpler, low level language like C or Pascal.

1 comments

Programming Pearls is great (I haven't read Hacker's Delight) but it's mostly "programming in the small". I think it would be interesting to see a book that took real world projects and looked at some core piece of them that is particularly elegant or clever. The core of how git manages its data structure for example, or the Quake BSP. In practice most such real code is probably too tangled up with the rest of the project to be very suitable for this approach unfortunately.