* Roy Sigurd Karlsbakk:
hi
i was reading the c++ from http://www.cplusplus.com/, and it looks
really good.
It really is much better than the previous one they had; seems like
they've updated their stuff, and also fixed the presentation.
The first blatant error that I see by skimming by this, is in the
section on constants, <url:
http://www.cplusplus.com/doc/tutorial/constants.html>,
<quote>
const zipcode = 12440;
In case that no type is explicitly specified (as in the last example)
the compiler assumes that it is of type int.
</quote>
which is wrong.
Then follows a long stretch of (at least seemingly) good stuff, until
the next serious goof in <url:
http://www.cplusplus.com/doc/tutorial/functions2.html>, where the
explanation of 'inline' is wrong and misleading.
And so on -- much fewer serious goofs and errors, although the style
is very C-oriented (#define instead of constants, raw arrays instead of
std::vector, and so on), which is perhaps not ideal; worse there doesn't
seem to be any discussion of how to use and not abuse the language
features introduced, but then that's also a strength, permitting an
overview of the language in a relatively short text.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?