The thing with programming is that it either works or does not work, but there is a huge window of what can be called art.
With no training, I, or even a 1 year old, could make something and call it art. I wouldn't claim it's very good but I think most people would accept it as art. The same cannot be said for programming.