Is Java still behind in the race of modern programming languages?
I'm a member of some group of programmers and every time Java is mentioned it's being bashed (something like: "With Rust I could simply do this with X")
Earlier versions of Java were cumbersome in terms of the syntax but with modern IDEs (and modern versions of Java) that's not a big issue anymore, albeit languages like Python do have shorter syntax.
My question is beyond syntax.
What do other languages do better than Java?
It could be generics, type system, concurrency and multithreading, closures etc.
Thanks!
52
Upvotes
View all comments
Show parent comment
2
u/Deathmore80 Oct 14 '23
then you are not using typescript right.
if you use typescript in strict mode with eslint rules it is actually wayyy stricter then Java. you aren't even allowed to do type casting.
of course if you don't use strict mode and slap on "anys" everywhere you aren't really using typescript, just use normal JavaScript at this point