Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: What is the most beautiful code you've ever seen?
2 points by 90s_dev 3 days ago | hide | past | favorite | 6 comments





donald knuth introduced the "literal programming". This paradigm, having documentation and code in one, make the code readable like a book. Also, one needs to put more thoughts into code structure, making the code not only readable, but also "good layouted" with clear separations of documentation and the code.

Some would say this Lisp interpreter written in Lisp: https://youtu.be/OyfBQmvr2Hc

For me it's Lua. Everything from implementation to design. The perfect example of maximal orthogonality.

there was something posted on here ages ago, a web clock whose code self-altered to change what it looked like. I wish I could find it.

Maybe this JS one by aem1k? https://aem1k.com/qlock/

This Ruby clock by Yusuke Endoh is even cooler imo: https://youtu.be/pgAHW8OpcTY


yes! the second one is it! so cool.



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: