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 29 of 116[-]8lall07 years ago1 reply#The simple regexp matcher by Rob Pike: https://www.cs.princeton.edu/courses/archive/spr09/cos333/be...practical_lem7 years ago#Pike's code should be studied in schools.
Ask HN: What is the most beautiful piece of code you've ever read?476 pointsby seisvelas (on Hacker News)7 years ago
8lall07 years ago1 reply#The simple regexp matcher by Rob Pike: https://www.cs.princeton.edu/courses/archive/spr09/cos333/be...
Comments (380) 116 threads
Show all comments
Showing thread 29 of 116