http://www.perlmonks.org?node_id=1013984


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.