Robert J. Hansen said:
E.g., the following is perfectly good C++ in my book, although you'd
probably call it "ignorant" or "defiant":
There's nothing wrong with that, but I would suggest that C++ code
that takes great pains to duplicate functionality provided by the STL
certainly qualifies as "ignorant" or "defiant", possibly both. Surely
there is something left to be desired in code that cries out for, say,
std::map but is prevented from making use of it by the use of
nonstandard language extensions.
The ultimate measure of reasonableness is the reliability of the code,
how well the code addresses the problem it's supposed to solve, and how
easy it is for successors to maintain.
I also suggest that C++ that uses a static array of, say, 600 structs
and then complains when one wants space for 601 does a poor job of
solving a problem that a std::vector would in all probability be far
better suited for.
I really thought this would be an easy question, but apparently
gratuitously bad C++ would seem to be the exception.