When someone asks me what type of development I do, I say “all types.” Sometimes they nod and move on because they’re just making conversation. Others will probe deeper and ask about programming languages. I say “all of them.” That is clearly hyperbole, but in a very real sense, I mean it. Or rather, I mean the opposite.
What language do I develop in? None of them. You might as well ask, “In what language did Plato philosophize?” Well, he spoke and wrote in ancient Greek, but his ideas make just as much sense to those of us who don’t know a word of Greek. The ideas are universal; the language is the medium to communicate those ideas. Likewise, programming concepts are universal and the programming language is the (often clunky) means to communicate â€“ to fellow developers and to the machine.
And yetâ€¦ And yet, it’s not so simple, is it?
When I lived in Italy, one of my breakthroughs in learning Italian was learning to “think in Italian.” That is, rather than composing a sentence in English and then translating it into Italian, I could bypass English altogether. I found that, besides improving my fluency and conversation speed, something magical happened: my thinking changed. It became more nuanced about certain things, more metaphorical, more poetic. Concepts changed and differentiated. For example, if there are two words in Italian that correspond to just one in English, my Italian-speaking self would see those things as two separate concepts â€“ suddenly it seemed silly to me that knowing a person (conoscere) and knowing a fact (sapere) would be described by the same word.
And it worked the other way too. Why yes (I would think), a pumpkin really is just another type of squash. (Zucca gialla and zucca.) And yes, the English term “belly button” is quite funny. When I was younger my parents took a language course from a Professor Lee, who also taught several other languages. They would describe in comical terms how his body language, tone of voice, and even personality would change dramatically as he said goodbye to the Arabic students and hello to the Italian students. It felt that way to me, too, like I was donning another self.
But here’s the really magical part: the ideas stuck. Even when I came back to speaking English, it was with a deeper awareness of the nuances in what it means to “know” a person or a fact. I found myself thinking in Italian and then translating into English at times â€“ times when the Italian language offered more expressiveness. And there were times when I wanted to say something â€“ when I had the perfect phrase, the perfect word, in Italian â€“ but I just couldn’t find a way to say it in English, so I had to lasciarlo perdere and come up with a close approximation, or risk confusing my listener.
But this is a programming blog
So it’s time to bring the parallel back to the concrete. When you work in a programming language, platform, or paradigm, you get in the habit of thinking in that language. If you’re a C programmer, you think in terms of functions, pointers, loops. If you stick to Java, you think in terms of classes, objects, references, but maybe miss out on understanding what goes on behind the scenes.
Knowing C will make you better at Java, just as knowing the Latin roots of words can improve your English. And of course it works the other way too. Back in my embedded software days, being limited to C felt constricting, but by “thinking in C++,” I could use object-oriented principles â€“ something that is eminently possible in C with good discipline. The result being what my boss at the time called some of the best-organized C code he had ever seen.
It helps us all