At university we would say that computer science was the art, where programming was the craft[1]. It is probably fairer to state that programming is an application of the science.
[1] Though with less of a sneery tone than used when people said "mathematics is the art where computer science is the craft"