ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Who thinks that Java will replace C++ in the future. I'm learning c++ and Java and would like to see which one will be better than the other. I would also like to know if I should learn one before the other.
Also is there any good tutorials for Java and C++ that would be usefull
I found these but I don't know if there the best that there is
Sun Microsystems Java Tutorial
Teach Yourself C++ in 21 Days
I can't post the URLS yet because I don't have 5 posts
C++ is very powerful, and very easy to misuse. I think a person can learn the basics of C++ in a reasonable amount of time, but to be really effective, needs to learn lots of idioms. You know, that's true for Java too, but I think less so.
Because Java handles memory cleanup for you, and because it has gotten rid of some of the more arcane stuff in C++, I find it easier to use.
I've been doing C++ for more than 10 years, and I still have lots to learn. Truth is, if I have a project where I need good performance, and I have to do it quickly, I use C++ (because I'm much more familiar with it).
Otherwise I'd probably choose Java, which I've only been using for 3 years.
I have used Beginning Java 2 by Horton. It seems very complete, but I haven't used it all that much (because I have C++ experience, and the syntax is similar).
Can't say I've really tried the sun java tutorials. They look like they'd be good, but I never seemed to have time to do them.
I don't know if you are looking for java tool recs, but I use J builder, and am very happy with it.
If you want to know about C++ books, I can give you more (and more informed) recommendations.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.