Re:Is there an algorithm as beautiful as a poem?
by labster on Sunday June 16, 2024 @12:30AM
(#40694700)
Here, have some Perl poetry:
https://en.wikipedia.org/wiki/Black_Perl
[ Parent
| on HN ]
Re:Is there an algorithm as beautiful as a poem?
by bostik on Sunday June 16, 2024 @04:02AM
(#40695473)
I remember when Perl poetry was a thing. Mates in university combined it with code golfing, and came up with some pretty wacky results.
Being bad at both poetry and golf, I went with brevity instead:
require clue;
Re:Is there an algorithm as beautiful as a poem?
by adityaathalye on Sunday June 16, 2024 @02:33AM
(#40695099)
Also the fact that 93% of paint splatters are valid Perl programs (2019) (mcmillen.dev) https://news.ycombinator.com/item?id=40197013
And riffing off poetry in prog langs, Dylan Beattie's Rockstar comes to mind: https://codewithrockstar.com/
Re:Is there an algorithm as beautiful as a poem?
by 082349872349872 on Sunday June 16, 2024 @02:38AM
(#40695118)
Difficult to mention Beattie without also mentioning his musical work, eg "Bug in the Javascript" https://www.youtube.com/watch?v=jxi0ETwDvws&list=PLw0jj21rhf...
Re:Is there an algorithm as beautiful as a poem?
by adityaathalye on Sunday June 16, 2024 @02:49AM
(#40695160)
Oh my, I haven't seen this one before... grinning like silly. I referenced his talk "The Art of Code" in my essay (I'm OP), a personal favourite.
Watching "Dylan Beattie's Tech Parodies" seems like a nice way to goof off this Sunday... brb.
Re:Is there an algorithm as beautiful as a poem?
by 082349872349872 on Sunday June 16, 2024 @03:14AM
(#40695254)
Cool, speaking of rock stars, "You Give REST a Bad Name" is a bit heavier; since you're OP, maybe the next one could be "Is there a program that rocks as hard as...?"
I still remember a particular moment in the early 1980s. I was working through K&R, and temperature conversion (§1.2) had been mid, but the RPN calculator (§4.3) was lit, and having typed it in, then figured out its principles of operation, I just knew I wanted to become a programmer.
He heard one guitar, just blew him away
He saw stars in his eyes, and the very next day *
From then on, I was destined for a life of Hex, Bugs, and Rock&Roll.