What, again?
Posted May 2, 2007 1:23 UTC (Wed) by
djabsolut (guest, #12799)
In reply to:
What, again? by peterh
Parent article:
The Rise of Functional Languages (Linux Journal)
these days you need a very good reason to write code in C or C++
A very pointed statement. Some counter arguments: Firstly, C and C++ are two different languages. The latter just happens to contain a large subset of the former. Secondly, C++ can be a very sharp tool, but a coder can easily restrict him/herself to only use safe programming practices and idioms in C++ (one example: ignoring all the nasty parts of C). Thirdly, the "truckload of libraries" advantage of languages such as Python has been more than noticed by the folks working on the next version of C++. Many of the Boost libraries are candidates for inclusion in the next standard (in fact, there is already a few of them in the TR1 extensions of C++). Due to C++'s templates and the ability to overload operators, some of the libraries have in effect extended the language already. To put it another way: the amount of work done per line of source code has increased considerably. Fourthly, apart from numerical applications where Fortran may still be faster, it is hard to beat the speed of C++ programs.
(
Log in to post comments)