Maybe "learning to code" does, but coding isn't the major value add. The main value "coders" provide is problem solving, which requires math.
Similarly, in programming, there are many tools available, which can be combined in almost uncountable ways to get something done... then editing skills translate to refactoring skills.
It is important in both writing and programming to express thoughts in such a way as to help reduce ambiguity as much as possible for the reader. The person who reads your code will appreciate well written code that doesn't smell, as it will help her do her job.