in reply to C++ vs. Perl mention on shygypsy.com

This interesting article http://www.informit.com/articles/article.asp?p=661370&rl=1 isn't very kind to C++ :)
  • Comment on Re: C++ vs. Perl mention on shygypsy.com

Replies are listed 'Best First'.
Re^2: C++ vs. Perl mention on shygypsy.com
by stonecolddevin (Parson) on Oct 23, 2006 at 15:33 UTC

    Not very kind, but when the author says (in reference to Java’s R(emote)M(ethod)I(nvocation) mechanism) "If you wanted to implement something comparable in C++, however, you would need to throw away the C++ method-call mechanism and replace it with your own custom message-passing system. Each C++ class would implement a single handleMessage() method, which would then call the "real" methods. By the time you’ve done this, you’ve thrown away a lot of the convenience of using C++ in the first place.", I find that very true. You do do a lot of having to throw away many of the features of C++ when doing something like this. C++ is great OO-wise, in my opinion, but it seems like it would have trouble with flexibility when dealing with "new" technologies.

    meh.
Re^2: C++ vs. Perl mention on shygypsy.com
by syphilis (Archbishop) on Oct 23, 2006 at 11:59 UTC
    This interesting article .. isn't very kind to C++ :)

    I once saw it written that C++ suffers only 2 drawbacks - namely, the concept, and the implementation. I don't know if that's an accurate assessment, but I'm more than happy to accept it.

    I think, however, that if the same comments were to be made wrt C, then I would object quite strongly.

    Cheers,
    Rob