Programming can be art.
And I totally resonate with the pleasure of crafting code and the artistic aspect of it.
However, it is not just that, and when it comes to making a living, then the story changes.
And for that second part, man is AI a killer tool.
And I'll add,: even for the first part, the story isn't black and white.
If you use AI very carefully and in a collaborative manner, meaning not for the "creative writing" part, but for the "looking over your shoulder part" and "making suggestions" part.
> Programming can be art.
On that at least we agree (ignoring the rubbish about "AI", unless it describes an artificial intelligence with at least peer-level (i. e. human-level) agency, and not a language model). The same goes for the ridiculous, but for chatbot lovers certainly convenient, notion that art stops being art because money (or some other form of compensation) changed hands. That's just a reheated version of the tosh incompetents threw at artists since time immemorial. I remember the last time when it was very en vogue: the pathetic "anti-art" movements of the 90s.
And programming? Processes and their manifestations, depending on definitions of course, can indeed be art. Just like writing and its manifestations (e. g. poems, novels).
> However, it is not just that, and when it comes to making a living, then the story changes.
Isn't this the case with all art?
There are many commercial artist that are putting some of their creative input to the side to make something that sells. That doesn't stop it from being art.
There are photographers that in their daily lives make school pictures or journalistic picutres while they may be more interested in making artistic pictures.
The same used to be for painters (a lot of the great painters actually) used to mostly make portraits or commission pieces to order, not to their taste.
Same goes for writers, videographers and other arts.