Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Mother of Perl

by jeffa (Bishop)
on Oct 01, 2003 at 12:45 UTC ( #295602=note: print w/replies, xml ) Need Help??


in reply to Mother of Perl

I am no expert, but the first thing that springs to my mind is objects. The only reason Perl and its cousins would benefit from being implemented in C++ is if that implementation needed to be object oriented. Since each language has it's own OO system, C++ would be overkill, hence C. I would not interpret that as a failure of C++ at all, it's just about taking a the other fork in the road. Besides, what about Objective-C? :)

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Replies are listed 'Best First'.
Re: Re: Mother of Perl
by blssu (Pilgrim) on Oct 03, 2003 at 14:14 UTC

    Don't sugar coat things. Rejection by large parts of the Open Source community is an indicator of failure.

    C++ is superior to C in every respect except:

    1. portability
    2. transparency (or predictability)

    The first can be fixed. C had *exactly* the same problem and we've managed to live through it.

    The second is the fatal flaw. C programmers do not accept hidden costs. The fundamental C++ idea of hiding behaviors (constructors, destructors, operator overloading, etc.) in backwards compatible C syntax was a mistake.

    Strangely, C++ does not have garbage collection because this is seen as a hidden cost. Manual storage management makes C++ tremendously unappealing to anyone but a C programmer -- but the other hidden costs makes C++ unappealing to C programmers too!

    If C++ had used non-C syntax for the non-C parts of the language, I think it would have completely replaced C.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://295602]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2021-12-05 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (31 votes). Check out past polls.

    Notices?