There's avant garde art; is there avant garde code?

5 points by tjchear ↗ HN
I may be seeking parallels where none exists; but if we go by avant garde's definition, code that is new, experimental, and/or unusual, functionally, or aesthetically (yes, I think good code can look aesthetically pleasing) should fit the description.

Thinking more about it, hand optimized code that looks unusual also fits this definition perfectly.

Any good examples of avant garde code you can share?

6 comments

[ 3.2 ms ] story [ 27.4 ms ] thread
TempleOS's HolyC might qualify.

IMO TempleOS is potentially the greatest work of outsider art in the history of the world.

Not sure why you are being downvoted, the whole of Temple OS is an impressive technical achievement and I might call it art.
Do esoteric programming languages count?

https://en.m.wikipedia.org/wiki/Esoteric_programming_languag...

There’s also a fairly huge subculture of abusing things such as Turing completeness (e.g. in CSS) to make tools and languages do things that they were definitely not designed to do. This isn’t just for utilitarian hacking, but also for completely aesthetic reasons (and maybe also for street cred and recognition for one’s mastery of obscure capabilities).

Quines snd especially radiation-hardened quines are basically just art.

https://en.m.wikipedia.org/wiki/Quine_(computing)

So are things like bogosort: https://en.m.wikipedia.org/wiki/Bogosort

Yeah, esoteric languages certainly count! They go against well-established mainstream language concepts and elements.

This subculture you're talking about, do they exist as a community somewhere?

I knew about Quines, but I've never heard of radiation-hardened quines! That's really fascinating. Conceptually it does mimic radiation-hardened self-reproducing organisms.