Ask HN: What is the most beautiful piece of code you've ever read?
For me it's a BASIC one-liner which generates mazes<p><pre><code>  10 PRINT CHR$ (205.5 + RND (1)); : GOTO 10
</code></pre>
I found this specific one via slashdot[1], but something similar, which I've never managed to find/replicate, was used to generate mazes on the Atari 800 XL at my school when I was a kid.<p>[1] <a href="https://developers.slashdot.org/story/12/12/01/1847244/how-does-a-single-line-of-basic-make-an-intricate-maze" rel="nofollow">https://developers.slashdot.org/story/12/12/01/1847244/how-d...</a>