Re:Kotlin becomes second most popular language on the JVM
by vips7L on Thursday February 06, 2020 @12:05PM
(#22257816)
Just handle your catched exceptions? It's not that hard.
I also agree with Goetz that extension functions aren't something we need.
[ Parent
| on HN ]
Re:Kotlin becomes second most popular language on the JVM
by int_19h on Thursday February 06, 2020 @11:09PM
(#22263150)
What's the point of even having checked exceptions, if you're going to have an unchecked counterpart for every one of them just so that you can flow them through lambdas?
Re:Kotlin becomes second most popular language on the JVM
by pjmlp on Thursday February 06, 2020 @01:10PM
(#22258502)
Not only isn't hard, one can write a generic utility method.
Regarding extension methods, while they are nice, with import static it just a matter where the extended type comes, big deal.
And from experience in .NET world, hunting them down isn't always fun, even if they are just Ctrl+F12 away.