The unasked question is whether learning to code is only useful if you intend to be a software developer. I believe that the logic and analytic skills acquired from learning to code are useful throughout your life no matter what job you take.<p>The analogy people in my company like to use is that everyone learns to write, but not everyone becomes a novelist. Everyone learns arithmetic, not everyone is a professional mathematician. Everyone takes science classes in school, whether or not they intend to be a scientist.<p>Coding is pervasive enough that is is worth at least learning the basics. If you turn out to like it and be good at it, go ahead and pursue it as a job. Otherwise, those basics are just a part of modern literacy.