*
The moose likes Jobs Discussion and the fly likes Do you find it confusing switching between different languages? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Careers » Jobs Discussion
Bookmark "Do you find it confusing switching between different languages?" Watch "Do you find it confusing switching between different languages?" New topic
Author

Do you find it confusing switching between different languages?

Syed Islam
Ranch Hand

Joined: Oct 03, 2013
Posts: 117
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?

Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30116
    
150

Assuming you keep using both languages, you get used to it. it takes a while to start to "think" in both languages rather than writing Java style code in another language.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18520
    
  40


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 ...

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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.
Syed Islam
Ranch Hand

Joined: Oct 03, 2013
Posts: 117
Interesting responses guys. I'd be worried about forgetting the important concepts.
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1614
    
  13

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!


No more Blub for me, thank you, Vicar.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Do you find it confusing switching between different languages?
 
Similar Threads
Would you prefer English to your native language?
Passed SCBCD5 Upgrade 88%
maths in java
Dual Boot?
switch doubt..