should i learn it first ?
dragon at china.org
Mon Mar 11 05:55:36 CET 2002
"Patrick" <netlangau at yahoo.com.au> wrote in message
news:oBTi8.1475$523.127893 at ozemail.com.au...
> "Aahz Maruch" <aahz at panix.com> wrote in message
> news:a6g7ra$lm6$1 at panix2.panix.com...
> > But are there any tasks for which C++ (or C++/Python) is really better
> > than C/Python?
> One example is an extremely complex and long-running simulation in which
> time-critical components are a very substantial chunk of the project. In
> those (rare) situations you need ruthless efficiency with slightly better
> than rudimentary abstraction capabilities. C++ fits the bill, but only if
> every processor cycle and every byte counts.
> The vast majority of programmers will never go anywhere near a project
> that. Even "real programmers" very seldom do. And you can virtually
> guarantee that if somebody is idiot enough to claim that knowing C++ is
> either necessary or sufficient for being a real programmer, they will
> work on a project that actually needs C++.
> Unless somebody has already spent years learning C++, I think they're much
> better off using either (a) one vastly more powerful yet still reasonably
> efficient language like Common Lisp, or (b) two lean and vicious languages
> like C and Python - both small and simple, both perfectly suited to their
> respective domains, and both complementary. Either way you end up with
> good performance and far less mental friction.
> If the OP is still around, I'd recommend learning C and Python at this
> stage. In spite of what your friends tell you, C++ is *not* a powerful
> language in the sense that it has one of the worst power/complexity ratios
> of any language in use today. Don't mistake effiency for power.
> If two people of equal ability started programming today, one learning C
> Python, the other learning C++, I'd wager that the C/Python guy will be
> running conceptual rings around the C++ guy 12 months from now. Power in a
> language is all about being able to express your most complex thoughts
> as few arbitrary difficulties as possible. Some languages help. Some
reasonable,very impressive, Thanks!
More information about the Python-list