4 ms·
Programming languages probably have the worst cost/benefit ratio of anything else you can learn. In the end, much of the work that goes into thinking about an a
by pron 10y ago
Programming languages probably have the worst cost/benefit ratio of anything else you can learn. In the end, much of the work that goes into thinking about an algorithm is the same in all languages, as are the components of the problems (you have functions for sorting, and for writing to files, and for getting the time etc.). Yet you have to learn a lot of details, like the standard libraries and popular libraries and all the tooling. I'm not saying a new language can't teach you valuable things, but those things are usually not worth all that overlapping effort. Moreover -- and perhaps partly because there are so many details -- languages are distracting, because people tend to fall in love with formalisms. They have an appealing aesthetic of an ordered structure, whereas the problems they're actually used for are messy.
Of course, some people love programming languages, and as an intellectual pursuit, studying them is as good as any other. But learning about, say, mechanical sympathy, data structures, concurrency, concepts in distributed programming, compilation or pretty much any CS topic which isn't tied to a specific language would have a greater impact for less cost. It's certainly good to know one language at each "level" -- systems, applications and scripting. Other than that, it's a good idea to spend as little time as possible on new languages.
- the_af 10y agoI'd say switching between languages within the same paradigm has a pretty low payoff. But if you switch between paradigms -- say, you learn Prolog when all you knew was C -- the payoff is pretty big. This is because you're not merely learning new syntax, libraries or toolchain (boring!), you're learning a completely different way of thinking about problem solving.