Where C++ is Better than Java (2 of 3)
- Java missing templates
Generic programming with dynamic polymorphism is much less efficient
- Java needs native methods for efficiency
No inlining or ordinary functions
- Java’s complexity like Smalltalk’s is displaced onto libraries
Java IO is at least as complicated as C++ ##