Re:Can I get some reasons to use Java instead of Kotlin?
by imtringued on Tuesday May 18, 2021 @03:22AM
(#27192042)
>checks all parameters that are not nullable (most of them) with Objects.requireNonNull
I would go as far as say 95% of them are. So now your code is filled with effectively pointless checks (you run into an error at runtime instead of compile time) if your language had non nullable variables in the first place.
I would go as far as say 95% of them are. So now your code is filled with effectively pointless checks (you run into an error at runtime instead of compile time) if your language had non nullable variables in the first place.