4 ms·
Ask HN: Most elegant code you’ve ever seen?
Such as JC’s fast inverse square.
- mtmail 4y agorelated "Ask HN: What's the most elegant piece of code you've seen?" https://news.ycombinator.com/item?id=11005003 https://news.ycombinator.com/item?id=11005003
- herodoturtle 4y agoThis is great thank you!
- pizza 4y agoI think the surface of the strength and beauty of functional lenses has barely been scratched.
- u2077 4y agoMy own code when it finally works?
- john_the_writer 4y agoAlready answered in the other thread.. But I still think string copy from c is the most beautiful code I've seen.. while (*p++ = *q++);