News for hackers. Stuff that matters.
Re:C# is now a better language than Java by sorbits on Friday July 31, 2009 @01:36PM (#734903)
Java certainly evolved the OO parts of C++.

C++ being a multi-paradigm language it does however have more than the OO stuff, and that “more” wasn’t inherited by Java.

This “more” is things like operator overloading, templates, compile-time types (allowing implicit type construction and user type conversion operators), well-defined rules for automatic storage, etc.

I rely heavily on these things and so does the IMHO elegant standard template library. I rarely use the OO features of C++ (if we define OO as inheritance and polymorphism, I do of course use data abstraction).

I assume the parent is doing something similar, which is what makes him say that Java/C# has nothing to do with C++, as there was a crossroad a decade ago where a lot of C++ users moved away from object oriented programming and instead embraced generic programming.

There are no comments on this comment yet.