Having fun this evening talking about unusual code with youngest kid.
We discussed quines [1], the legendary "hello polyglots" program [2], and ran a bash fork bomb [3] on my MacBook.
(Results: high CPU usage, loud fans, excess heat, forced reboot, giggling child)
1: https://en.wikipedia.org/wiki/Quine_(computing)
2: https://www.yarchive.net/comp/polyglot.html
3: :(){ :|:&};:
That “hello polyglot” program is giving me frightening flashbacks to the late 1990s, when I was doing a bit of web development.
The only way to write cross-platform CSS was with clever nesting of comments - so different browsers would see different bits of CSS code.