My brain can't do art. I have tried for 20 years. I am never happy and keep going to try and make it perfect. And I never succeed. I end up tossing it in the bin after my attempts at perfection make it look like like a mess.
I like code since it works or it doesn't. Sure, it could be better but as long as it works and is secure I don't really care. And yes, 90% is using PHP.
You try to make something perfect and don't succeed so you don't feel satisfied?
Welcome to the club of mere mortals!
Even Michaelangelo probably wasn't completely satisfied with some tiny spot on David or the Sistene Chapel that looked like an enormous blot to his trained eye and unmeetable standards, while virtually everyone else probably couldn't see it and considered the work a masterpiece.
If you set impossible standards for yourself you will get nothing but frustration and disappointment. Part of being an artist is learning to either set more realistic expectations or learn to work despite your own feelings of inadequacy.
"It works or it doesn't" suggests you either limit yourself to extraordinarily simple projects or your clients don't care what happens as long as it's not a 500. Development is not such a black and white pursuit if you're working on projects with any sort of complexity.
I'm better with programming than I am with charcoal, but I can say with certainty that while my art is hanging in a few living rooms, my code gets a lot more scrutiny (appropriately) and evolves much more. That's not because it can or should be perfect, it's because the result and the scrutiny is less subjective.
I like code since it works or it doesn't. Sure, it could be better but as long as it works and is secure I don't really care. And yes, 90% is using PHP.