Learning C++ for Java Programmers?
The Real Joe Faith asks: "The O'Reilly book 'Java in a Nutshell' used to include a really handy introduction to Java specifically aimed at C++ programmers. It meant an experienced programmer could re-use their knowledge and get up to speed quickly. But what about going the other way? I know a fair amount of Java but, for my sins, have always avoided C++. Now I need to learn it. Fast. Not just the syntax, but also about the various standard libraries out there. Now that Java is the standard language on most computer science courses I guess there will be a few people in the same boat. Can anyone recommend a good book (or any other information source)?" For those Java programmers among us who have gone this route, what books did you use to assist you in the transition to C++? How well did these books work for you?
Seriously. Java isn't the best and most modern language in existence, but C++
is substantially worse in an assortment of ways. The *only* thing it has going
for it over Java is performance, which is mattering less and less as fewer and
fewer people are trying to function on the 486SX systems with 1MB of RAM that
were prevalent when Java got its reputation for slowness.
If you want to diversify from Java and learn more languages, that's good, but
C++ isn't a good choice anymore. People are moving *away* from C++, for good
reasons. Learn Perl or Python or Ruby or Scheme, something that actually
provides some facilities Java doesn't.
Cut that out, or I will ship you to Norilsk in a box.