Back to front pageView on Hacker News (opens in a new tab)Ask HN: What is the most beautiful piece of code you've ever read?476 pointsby seisvelas (on Hacker News)7 years agoPreferably an elegant snippet rather than an entire (well engineered) codebase.Comments (380) 116 threadsShow all commentsShowing thread 89 of 116stillworks7 years ago#This is a very open ended question.For me, lazy as I am, most recursive algorithms operating on binary trees are a thing of beauty. Post-order ones even more so.
Ask HN: What is the most beautiful piece of code you've ever read?476 pointsby seisvelas (on Hacker News)7 years ago
stillworks7 years ago#This is a very open ended question.For me, lazy as I am, most recursive algorithms operating on binary trees are a thing of beauty. Post-order ones even more so.
Comments (380) 116 threads
Show all comments
Showing thread 89 of 116
For me, lazy as I am, most recursive algorithms operating on binary trees are a thing of beauty. Post-order ones even more so.