Re:The future of java
by JulianMorrison on Wednesday April 22, 2009 @07:47PM
(#574797)
The superficial similarity is deceptive.
C++, the elegance of a subset is replaced with a grab-bag of features when you zoom out.
Scala, the grab bag of features are replaced with an elegant unified language when you zoom out.
Scala gives average programmers an upgrade path and rewards them for following it. C++ gives average programmers a headache. In Java the average programmer thinks he knows the language, but that won't do him any good if all the important patterns are above the language at library level or higher.
This will never work. It never worked with C++. You need sharp C++ programmers to produce C++ code; you can't use mediocre programmers using a subset of the language. Even if you enforce simplicity internally, debugging and external library dependencies force all C++ programmers to cope with the full complexity of the language.
Java is an excellent language for exploiting the abilities of average programmers. Average programmers can be self-sufficient in Java. Outstanding programmers, exploiting the full power of Java, produce code and APIs that average programmers can understand and use. Scala cannot fill that role.