Do you have a cite for this? In my experience, for a given
amount of functionality C++ is somewhat less verbose than Java.
I'm talking about the size of the grammar, the complexity of the
language. I did not locate the article I read previously but found
some other comparisons of java and C++ grammars. This is an extract:
"because development of Java grammar parser is not a simple task (even
through Java grammar is simpler and less ambiguous than C++ grammar)"
from
http://www.ispras.ru/~knizhnik/jlint/ReadMe.htm
I'm sure java's grammar grew in size with the addition of enums,
generics, etc. I wonder which grammer is larger now and by how much.
This is not the case. C++ and Java are probably of the same
order of magnitude in terms of verbosity.
I'm not talking about the resulting source code's verbosity. I'm
talking about the amount of keys (raw count) I need to hit in order to
get a lot of java code characters on screen. I am comparing this
quantity to the amount of keys I need to hit to get, admitadly shorter,
perl code. Being a competant user of editors I frequently end up with
considerably more characters on screen then number of keys hit. I'm
saying that number of characters and verbosity are very minor
considerations when it comes to generating code fast.
Opalinski
(e-mail address removed)
http://www.geocities.com/opalpaweb/