Re: Applications of C++
On May 5, 1:49 pm, Jeff Schwab <j...@schwabcenter.com> wrote:
James Kanze wrote:
On May 4, 4:07 pm, Jeff Schwab <j...@schwabcenter.com>
wrote:
Another shortcoming of C++ is that the code is extremely
verbose,
I've not noticed this. Verbose compared to what?
Almost any newer language, particularly scripting languages.
(Of course, the code isn't really doing the same thing, but
the end result is often the same.)
As you say, the code isn't doing the same thing. For very small
programs (up to, say, 500 lines of code), yes. C++ is more
verbose than, say, AWK or Python. And in fact, for such things,
I use AWK, and not C++. For larger projects, however, the
"verbosity" of C++ fulfills an important function---keeping the
interface specification separate from the implementation code.
While I think C++ is probably a little more verbose than Ada 95,
I don't think that the difference is significant. And I don't
know of any other language which provides comparable features,
and which could really be used for the sort of projects C++
would typically be used for.
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34