|
|
|
|
|
by AsyncAwait
2605 days ago
|
|
> Not to mention casting to and from interface{} which is error prone and very tedious and verbose. Agreed, but Java's generics are not the best either. When I am looking for an advanced type system in this space I look at Rust, not Java. |
|
And generics constitute just one part of a type system. You have languages like Scala if you're looking for a language with a more advanced type system than Rust's, and it also runs on the JVM.