4 ms·
It sounds like you just want to write C#. The reason that Java is so successful is precisely because of the points you mentioned. If they broke backward compati
by shepherdjerred 4y ago
It sounds like you just want to write C#. The reason that Java is so successful is precisely because of the points you mentioned. If they broke backward compatibility to fix the warts then it wouldn't be the popular language that it turned out to be.
Modern Java (11+, and especially 17) has greatly improved the language. Sure, there's still type erasure and primitives, but it is adding a lot of features that matter like record types, more efficient GC, deprecation of older classes, and more fleshed out APIs.
I can see why you'd dislike Java. There are a lot of things that could be improved. There are times when it is the right language and times when it isn't.
- Banana699 4y agoC# isn't ideal either, but it's a way better java than java. The even better java is Kotlin or Groovy. My point in the GP comment is just that there fundamental design things that IDEs can't fix. Java is badly designed, IDEs can do damage control, but it can't undo what the mistakes of language designers.