News for hackers. Stuff that matters.
Re:Why don't more languages offer flow typing? by Orangeair on Monday April 04, 2022 @02:16PM (#30910114)
> Even in the presence of such tests, Java demands that the author cast their objects appropriately.

This is one of the many reasons why I've found Kotlin so refreshing after five years of writing enterprise Java

https://kotlinlang.org/docs/typecasts.html#smart-casts

There are no comments on this comment yet.