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 19 of 116QuinnWilton7 years ago#It's impossible to choose a favourite, but here's a beautiful snippet, courtesy of Joe Armstrong [0] universal_server() -> receive {become, F} -> F() end. [0] https://joearms.github.io/published/2013-11-21-My-favorite-e...
Ask HN: What is the most beautiful piece of code you've ever read?476 pointsby seisvelas (on Hacker News)7 years ago
QuinnWilton7 years ago#It's impossible to choose a favourite, but here's a beautiful snippet, courtesy of Joe Armstrong [0] universal_server() -> receive {become, F} -> F() end. [0] https://joearms.github.io/published/2013-11-21-My-favorite-e...
Comments (380) 116 threads
Show all comments
Showing thread 19 of 116