Home > C++ > Unneeded And Unuseful

Unneeded And Unuseful

On Bjarne Stroustrup’s C++ Style and Technique FAQ web page, he answers the question of why C++ doesn’t have a “universal” Object class from which all user-defined C++ classes automatically inherit from:

I felt the need to post this here because I’m really tired of hearing Java programmers using the “lack of a universal Object class” as one reason to stake the claim that their language of choice is superior to C++. Of course, there are many other reasons in their arsenal that undoubtedly show the superiority of Java over C++.

  1. Mark Wilson
    July 8, 2011 at 3:35 pm

    C++ rules. We had a guy here a few years ago who created a whole elaborate “universal base class” to do locking, serialization, and so on our C++ class. What a f**kstick.

  2. July 8, 2011 at 5:38 pm

    LOL. Everybody wants to own the world and force their stuff on everybody else. But those same dudes won’t use anybody else’s stuff.

    • Mark
      July 9, 2011 at 9:58 am

      I suppose I can be like that too, but MY stuff really IS better!

  1. No trackbacks yet.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.