3 ms·
>Clickbait in some respects. "Java should have been a different language from what it was, more pure in OO terms, and without the characteristics that made it u
by coldtea 7y ago
>Clickbait in some respects. "Java should have been a different language from what it was, more pure in OO terms, and without the characteristics that made it understandable & popular for developers from C and similar backgrounds."
The description above is more of a strawman than the title is clickbait.
There's nothing in the post that would make Java less "understandable & popular for developers from C and similar backgrounds".
If anything, the simplifications proposed would make it more coherent and understandable.
>While the ideas are (somewhat) valid
What part of the ideas you don't find valid?
>it would have been a quite different language from the language that gathered traction and became popular as Java.
Not in any substantial way except that it would have more consistency in the treatment of value types, and 90% of it behind the scenes. Everything else, from a syntax, language, and API design perspective would be the same.
(Java with Generics, streams, closures, etc. today, and Value Types soon, is widely different already from the Java of 1997).