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 49 of 116tgvaughan7 years ago#I think this was the first line of the forth in the library of an older version of jonesforth (https://rwmj.wordpress.com/2010/08/07/jonesforth-git-reposit...), but now I can only find it in my port: : \ IMMEDIATE #IB @ >IN ! ; \ We can now comment! Implementing a forth system is unbelievably fun because of gems like this.
Ask HN: What is the most beautiful piece of code you've ever read?476 pointsby seisvelas (on Hacker News)7 years ago
tgvaughan7 years ago#I think this was the first line of the forth in the library of an older version of jonesforth (https://rwmj.wordpress.com/2010/08/07/jonesforth-git-reposit...), but now I can only find it in my port: : \ IMMEDIATE #IB @ >IN ! ; \ We can now comment! Implementing a forth system is unbelievably fun because of gems like this.
Comments (380) 116 threads
Show all comments
Showing thread 49 of 116