Saturday, May 22, 2010

Java or c++?

I have used both in the past for school, but lately I'm focusing more in Java. My last project was to implement a complex binary tree data structure using generics, and I'm beginning to feel really comfortable with the language. My next goal is to learn how to make programs with threads and go from there.





However, during a career fair most companies I talked to prefer c++. My question then is: should I stop at the point where I am with Java and start learning c++? Or should I continue to enhance my knowledge of Java and just have a basic understanding of c++?

Java or c++?
Both. C++ remains the most popular language but Java is excellent as well. I think you should continue to pursue Java as you seem to have a passion for it, but that you should also do a lot of C++ at the side so that you can fit in both categories. Both languages are portable but Java is more portable because you don't have to recompile it for another platform. It will run on any platform that has the Java Virtual Machine (of course, you know all this).
Reply:I think this coming christmas brake, you really need to take an English course on how to spell :) Report It

Reply:Personally, I would choose C++ because it is cross platform between Windows and Linux. Java is better for online use, but when it comes to system programming, C++ gets it done more efficiently.





What I do like about Java is the simplicity of function placement and the easiness of creating header files, but C++ can do that too, just not as easy though.





Most successful programmers know more than one language, I work with C++, Java, Javascript, ASP, Basic, and PHP. Its not hard to learn more than one language, but it is worthless if you cannot apply it.
Reply:Lot depends on which kind of companies you want to work .


For example major wall street firms use a combination of both ,where speed is extremely critical (trading app) they go for C++ based server ,in other cases its mostly java.Learning Java will also give you an edge for developing web applications.
Reply:You'll definately want to learn more C++, not many companies use Java outside of the ones partnered with Sun. You don't have to stop learning Java though, just give C++ more priority unless there is a specific job you are going for that requires Java.
Reply:I agree with Helper...both would be best. Most programmers I know of code in several languages.
Reply:I'm a developer myself and I know a few languages. At any given time I focus or use one over the others and that syntax sticks in my head during that time, but I'd say learn as many as you can. The concepts in C++ and Java are pretty much the same, so it's not going to be a huge stretch to jump back and forth.





Java is largely used for portability. If you want to write an app that can be run on Windows, Linux, Mac etc.. you can just write it in Java and you're done. This doesn't make it better, I'm just telling you one of its major strengths. So it really depends on what kind of work you're doing.
Reply:No learn Java + C++.


No comments:

Post a Comment