I actually have no issues with it, provided that I don't change more than once or twice a day. Once, I had to work with three similar languages (Java, C++, and C#) at the same time, for a couple a weeks. Near the end of that project, I think I was actually losing my grasp of the English language ...
Once a long time ago I was working on two projects where I had to use two different dialects of BASIC. (Yes, this was a long time ago.) One of them used LINE INPUT to input a line, and the other one used INPUT LINE. It drove me crazy.
Joined: Oct 03, 2013
Interesting responses guys. I'd be worried about forgetting the important concepts.
Syed Islam wrote:For example, let's say you are a Java EE developer. You want to open up some more opportunities and build skills so you learn Ruby on Rails or PHP. Do you find it confusing switching between these languages? Or do you get used to it after a while and become a better programmer?
Where the languages share concepts e.g. OO principles, then you can apply knowledge from one language to another e.g. from Java to Ruby. Where they have different concepts e.g. Ruby mixins versus Java interfaces, you'll probably remember the distinctive features of each language anyway. And learning how different languages do things will help you to understand the common underlying principles much better, even when the surface syntax differs.
As for mixing up the syntax, I find it's not too bad generally e.g. I was recently working in Java, Python and PL/SQL most days, but it was OK (apart from occasional problems with the assignment operator "=" versus ":=", and remembering to use "equals()" instead of "==" in Java). But where languages are very similar e.g. Java and Scala, I tend to have more problems. But I'm no expert in either, so maybe it's just ignorance!