*grump*
As of this week I find myself maintaining code written by a C++ programmer in the Strict Orthodox style. This means that the program is divided rigidly into classes, even the parts that are entirely procedural in function; that there is a strict convention of one class to a source file even when this means separating fragments of code which are doing a semantically related job and would benefit from being near each other; and, in general, that classes and templates and namespaces and long multi-
do_foo(arg1, arg2);
if he could possibly instead write
FooDoingClass<inexplicableTemplateParameter>::getInstance()->
doFoo(RandomNamespace::arg, RandomOtherNamespace::arg2);
only, for added annoyance, without the line break in the middle.

no subject
no subject
no subject
no subject
no subject
Well, not really. Let's take it one thing at a time:
If all the methods are static, the class is essentially just a namespace.
Java only enforces the limit of one class or interface that is both public and outer per source file. However, one outer class per file does make things easier.
One would hope that in Java classes would be coherent. I found finding code in C++ a real pain. I switched to one class per source file pair/tripple before I touched Java.
The Java coding convention says to only use a single word in package names. The template parameterisation there wouldn't make any sense in Java. "getInstance()" is a clear indication of non-OO code. Nothing to stop importing from a namespace in Java, although of course it can make it clearer to qualify.
If only compilers rejected (hand written) source code with more than 80 characters in a line (or tabs).
no subject
no subject
no subject
no subject
By bete noir these days is trying to write code in XSLT (sometimes it's all you've got!). It's a perfactly fine toy functional language, but it is /so/ verbose, and full of syntactic bitters.
no subject
I don't think there's any excuse for the kind of opacity shown above. using namespace RandomNameSpace; would solve one half and a typedef abbreviating the template instance class the other.
As for templates vs cpp, I'd much rather use the STL than a cpp equivalent (though sometimes the latter would be much better than neither). They're definitely something that need to be used with care and taste, but that's at least as true of all but the most trivial uses of cpp too.
no subject
I love that coinage :)
(Good luck for the weekend!)