The last thing I did before leaving C++ for Java was buy the book "Exceptional C++" by Herb Sutter (subtitled "47 Engineering Puzzles, Programming Problems, and Solutions"). It languished on a shelf until I took it with me to survive a Christmas with the in-laws. This is essentially a book about pitfalls, and I hoped that I could apply some of what I read to Java or object-oriented design and programming in general. No such luck, but it did make be feel happy to be working in Java, and not dealing with all the gotchas of C++.
Some somethings transfer and somethings don't. You could argue that it's all experience and therefore all good, but the amount that transfers can be slight, so it could amount to a near-complete waste of time.
On the other hand, the first time I read the Gang of Four's Design
Patterns, I was totally blown away by how much insight the book packed in and how relevant it was to OOP, in any language. I skipped all the code samples (which are mainly in C++, with some smalltalk thrown in to really confuse me) and still do now, when I go back to the book. I guess I'm saying that what I get the most out of is the higher level stuff, and this seems to be what I can apply across languages, versus things like "watch out for == versus equals()", which is true enough, but doesn't travel.
[ January 16, 2006: Message edited by: Jeff Albrechtsen ]