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 102 of 116Daave877 years ago#select languageId, translate(language, languageId) language from languageit was a stored procedure to populate a dropdown list of languages each translated into their own language on an old asp.net app. i always liked it
Ask HN: What is the most beautiful piece of code you've ever read?476 pointsby seisvelas (on Hacker News)7 years ago
Daave877 years ago#select languageId, translate(language, languageId) language from languageit was a stored procedure to populate a dropdown list of languages each translated into their own language on an old asp.net app. i always liked it
Comments (380) 116 threads
Show all comments
Showing thread 102 of 116
it was a stored procedure to populate a dropdown list of languages each translated into their own language on an old asp.net app. i always liked it