The code in these cases is usually wizardry understood by a select few, but the stories, optimizations, trickery and even formatting can be told to anyone who loves design.
Because most code is a stinking pile of shit.
But at least I can easily imagine a world where people indeed do this. :-)
Indeed yesterday I drew some pictures (on my computer) that visualize what actually happens in some rather mathematical algorithms.
The immediate rebuttal to that might be that "AI could just do it" but that's not entirely true - the sort of art that you (typically) see in a gallery isn't "an accurate representation of the world as viewed" just as a lot of "code as art" isn't "a problem solved with code". The camera captures (mostly accurate) images, and AI is usually writing "code that does a thing".
The expressiveness (can) come from a place that's deeply human, and can yield a product that is tangibly diifferent from what an efficient coding process would normally produce.
A few of us played a game when I was in batch at the Recurse Center - we called it Monstrosity. The game was to build a string in the absolutely least efficient way possible - using the largest stack, the most network hops, the most obfuscatory and difficult methods to create a character (bit-shifting algorithms to make ASCII, anyone?). It was beautiful, and it was the kind of thing that AI would never think to do (at least, not without significant cajoling and even then you'd be missing the point).