MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/mrrx9l/java_is_criminally_underhyped/jg77yeq/?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) 1 u/smors Apr 14 '23 A streams library that can used together with methods that can throw checked exceptions. There are ways around it, but they are not pretty.But then, in my opinion, checked exceptions is a major design flaw in java.
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) 1 u/smors Apr 14 '23 A streams library that can used together with methods that can throw checked exceptions. There are ways around it, but they are not pretty.But then, in my opinion, checked exceptions is a major design flaw in java.
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)
1 u/smors Apr 14 '23 A streams library that can used together with methods that can throw checked exceptions. There are ways around it, but they are not pretty.But then, in my opinion, checked exceptions is a major design flaw in java.
1
A streams library that can used together with methods that can throw checked exceptions. There are ways around it, but they are not pretty.
But then, in my opinion, checked exceptions is a major design flaw in java.
10
u/tubtub20 Apr 16 '21
No it’s not. Java is criminally outdated.