|
Re: The Positive Legacy of C++ and Java
|
Posted: Mar 17, 2009 2:20 PM
|
|
> > Java strengths: > > ...... > > garbage collection > > > > I'm afraid I've never really bought into this one. It > often seems to come over as a sort of Java religious > chant, in that the implication is that no language can be > any good without it. > > I've coded in C++ for a good number of years using modern > C++ techniques (RAII, smart pointers) and, for me, it just > not an issue at all.
Among other things, in large projects, a single memory model (who allocates, who releases, etc.) is invaluable.
If you're happy with what C++ does for you, then you should keep your head down in C++ so that you don't lose your happiness ;-)
(I work on a product that has both Java and C++ implementations, among a few other languages, so I get to see the differences across those languages every time I make a fix or add a feature, and automatic garbage collection is such a great leap forward that you won't appreciate it until you've been working in a GC'd language and then have to go back to working on C++.)
Peace,
Cameron Purdy http://www.oracle.com/technology/products/coherence/index.html
|
|