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 55 of 116bjconlan7 years ago#As a student in 2001, Tim Sweeney's template recursive inheritance was next level for me:https://www.flipcode.com/archives/Vector_Math_Quaternions.sh...About 10 years later you would find this stuff everywhere in boost but for the time this was spectacularly elegant for C++
Ask HN: What is the most beautiful piece of code you've ever read?476 pointsby seisvelas (on Hacker News)7 years ago
bjconlan7 years ago#As a student in 2001, Tim Sweeney's template recursive inheritance was next level for me:https://www.flipcode.com/archives/Vector_Math_Quaternions.sh...About 10 years later you would find this stuff everywhere in boost but for the time this was spectacularly elegant for C++
Comments (380) 116 threads
Show all comments
Showing thread 55 of 116
About 10 years later you would find this stuff everywhere in boost but for the time this was spectacularly elegant for C++