MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/mrrx9l/java_is_criminally_underhyped/guopgz3/?context=3
r/programming • u/Jaxkr • Apr 16 '21
220 comments sorted by
View all comments
10
No it’s not. Java is criminally outdated.
17 u/evilgwyn Apr 16 '21 Which version of Java are you referring to, and what features is that version missing? 20 u/Jwosty Apr 16 '21 edited Apr 16 '21 To name a few things missing from modern Java:async/awaitnon-nullable typestuple typesnon-trivial type inferenceextension methodsuser-definable stack types (like .NET structs)runtime genericspointers for interop scenariosLINQproperties (more readable than manual getters/setters) 13 u/realestLink Apr 16 '21 I'd also add "strong immutability" (C# has some issues with this too, but it is a bit better since it has some support as well as user defined value types). Java code is filled with escaping references in the wild unfortunately ime
17
Which version of Java are you referring to, and what features is that version missing?
20 u/Jwosty Apr 16 '21 edited Apr 16 '21 To name a few things missing from modern Java:async/awaitnon-nullable typestuple typesnon-trivial type inferenceextension methodsuser-definable stack types (like .NET structs)runtime genericspointers for interop scenariosLINQproperties (more readable than manual getters/setters) 13 u/realestLink Apr 16 '21 I'd also add "strong immutability" (C# has some issues with this too, but it is a bit better since it has some support as well as user defined value types). Java code is filled with escaping references in the wild unfortunately ime
20
To name a few things missing from modern Java:
async/await
non-nullable types
tuple types
non-trivial type inference
extension methods
user-definable stack types (like .NET structs)
runtime generics
pointers for interop scenarios
LINQ
properties (more readable than manual getters/setters)
13 u/realestLink Apr 16 '21 I'd also add "strong immutability" (C# has some issues with this too, but it is a bit better since it has some support as well as user defined value types). Java code is filled with escaping references in the wild unfortunately ime
13
I'd also add "strong immutability" (C# has some issues with this too, but it is a bit better since it has some support as well as user defined value types). Java code is filled with escaping references in the wild unfortunately ime
10
u/tubtub20 Apr 16 '21
No it’s not. Java is criminally outdated.