||What I Hate About Your Programming Language|
|Subject:||Should have required StringBuffer|
Response to: Operator overloading in Java
I've seen string concats via + --way-- overused and completely unnecessary. For consistancy, they should have required StringBuffer. To the developer, it's still operator overloading. The implementation of that overload (preprocessing during compilation would be a better term) is irrespective to the simple fact that the language bars using + between Objects, yet Strings are allowed to break this rule.
Essentially, Java should have set a single standard and stuck with it.
Java's single compile and run certainly beats the pants off the compile / link / run tedium with C/C++.
Hear us Roar