I would disagree. There are a lot of different kinds of coders out there, and many should not waste their time learning anything about visual design.
For instance I find myself in back end roles. Take my current job. That is a mix of analyzing software for what needs to be monitored, writing said monitoring, and fixing or escalating when said monitoring indicates that something has gone wrong.
Nothing I do comes anywhere near anything resembling an end user. So what point is there in my learning about graphic design?
On the other hand every good person I know who does front end development also knows something of design. If for no other reason than to establish a common language with the designer.
But taking your point one step farther, I think it is important that everyone learn something about the jobs of the people we interact with every day.
Sure, they don't have to be great designers (much like designers don't need to know anything more than HTML and CSS).
However, a good programmer can create really bad software if they don't know anything about design. Many of the same "reasons" from this article can be applied to programmers designing, too.