Debugging - a dark art?

So, if debugging is the art of finding and removing errors in code, that must mean programming is the art of putting errors in and we should refer to programming as "bugging".