Click here to Skip to main content
15,885,435 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

Well I've been wondering for quite sometime now whether to shift back to Java.

I did 6 months course in Java 2 years back and hold a Sun Certification. And later I did MSc In Software technology last year(Where I learnt Java again along with various other subjects but not C++). Then I got a got job offer as a developer in C++. It was too hard to say NO.
Now I've been working in this field for the past 7 months and I'm kind of not comfortable with C++.

Is it wise to move back into Java ? Are the opportunities in Java better than C++?
Posted
Comments
TorstenH. 17-Apr-12 7:19am    
Are options "better"? I don't think so. Options might be the same quantities.

I guess it's more about where you feel comfortable. You need to stand behind your product. If you can't stand in - change some.

I can't comment on what the relative job opportunities are in the respective marketplaces as I haven't used Java in 10 years. Check out loads of recruiters websites and see what hits you!

On the other question about whether you should move back... 7 months isn't a lot of time to get up to speed with a previously unknown language, a new development culture AND a new codebase. So it might not just be the lack of comfort with C++, the whole experience might be dragging you down.

First off it takes to become a good C++ programmer [1]. You're going through the "Things are so much easier in language X..." or "This works in language X, why not in this godforesaken language????" stage. It isn't helped by Java and C++ being such close cousins in terms of syntax and that you're having to learn on the job. I have the same problem every time I learn a new language as well.

So if you're not comfy with it at the mo it might get easier - as you learn more C++, you realise what it can do that Java can't (and vice versa). Or you might get so pissed off that you'd rather cut your hands off rather than type another #include directive, I don't know in your case :-)

However if you decide to leave though make sure you know why you're leaving. You might end up in a job that sounds better but is, in fact complete rubbish. That's happened to me a few times now - you get there and find that while they're using some tech you like there's some really weird restrictions on it's use because of what was current in the dark ages (which is about 1990 in development)[2].

Anyway, the message I'm trying to get across is be careful before moving, it might bite and C++ will (probably/hopefully) get (a lot) easier in the end.

Cheers,

Ash - the rambling C++ programmer

[1] It took me 10 years before I was thinking, "Hey, I'm alright at this!" and even now, 11 years after that, I'm still amazed at what I don't know. I am a slow learner though.

[2] For example loads of managers I've worked for learnt C++ in the 1990s and they got very scared by it. They try and face that fear by coming out with coding standards that try to stop you using the language. I imagine the Java equivalent is out there as well - "No Generics! We didn't have those in 1995 so why should you have them? And all interfaces must use AWT."
 
Share this answer
 
Comments
Sumal.V 17-Apr-12 8:34am    
Nice to hear this from someone as experienced as you. At the end of the day, I know its my decision. Its just that as a graduate when I was offered this position I was excited and never bothered about the platform.

Even now when I find some of my Java books I get all excited and happy to flip through the pages.

Or I guess its just that "The grass is greener on the other side until you get there". Hmmm... I don't know.

Thank you for your time :)
Aescleal 17-Apr-12 8:52am    
Sounds like you need to scratch the Java itch :-) Enthusiasm for a language is great, I wish there were more people around with the same passion.

I'll change my earlier advice: Drop C++ like a hot brick and find a new job.


(OR find some other Java outlet - open source projects always need committed and passionate programmers)

Cheers,

Ash
Do what you love and you'll never work a day in your life. There are always opportunities in doing what you enjoy.
 
Share this answer
 
Personally I'd always consider the projects to be more important than the programming language. You'll get used to the latter in time, but if you're not comfortable with the former from the start, there is a problem right there that is unlikely to get any better.

That said, while the differences between Java and C++ as a language are not that large, really, the projects they're mostly used for may be quite different: IME Java projects are more likely about Web related applications and databases, whereas C++ project usually involve desktop or client-server applications, or even embedded programming. So if you generally like developing Web apps better than desktop apps, then you're probably better off focusing on Java.
 
Share this answer
 
Comments
Sumal.V 17-Apr-12 9:26am    
Yeah I know what you mean.
As of now I don't have any pressure from senior level to get the job done. But I'm given an opportunity to learn (On my own!).But there were instances where in I was expected to get a function running by the next day n I would just go blank!
As far as the job is concerned, I'm happy as I'm getting some commercial experience. I don't know what I like, Ie: web based or desktop based. I need to figure that out first.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900