Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: C or C++ to go with Perl.

by vinoth.ree (Monsignor)
on Jan 18, 2013 at 08:38 UTC ( #1013984=note: print w/replies, xml ) Need Help??

in reply to C or C++ to go with Perl.

* C is the closets language to assembly. Which means it is really low level and you have lots of memory management to do.

* C++ may be difficult to use, because it is like C in some ways but a higher level of abstraction, plus you still have to control memory.

* C++ is easy to learn simple things.

* I would suggest learning C before C++.

Replies are listed 'Best First'.
Re^2: C or C++ to go with Perl.
by Anonymous Monk on Jan 19, 2013 at 11:44 UTC

    C++ does have the handicap of object-orientation. OO is pretty good for designing large to very large programs, but fares poorly in small programs and it's very difficult to wrap your head around the paradigm -- especially for a new programmer.

    (Of course you can completely skip the OO and program in a non-OO style, but whichever tutorial or book you choose to learn C++ from will probably dedicate at least a few chapters to it)

    I'd still rather go for some other compilable language, and I'm not sure which one to suggest, but I'll echo the sentiment that the OP should stay in Perl-land for a while.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013984]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2018-06-21 17:20 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (118 votes). Check out past polls.