3 ms·
I think Kotlin is great. I feel much more fluent when writing Kotlin than I do when writing Java. The thing I really miss though, is checked exceptions. I have
by trulyrandom 5y ago
I think Kotlin is great. I feel much more fluent when writing Kotlin than I do when writing Java. The thing I really miss though, is checked exceptions. I have no clue which exception types a library function might be throwing unless they're explicitly documented (which is rare). Does anyone know if this is planned to be addressed at some point?
- alanfranz 5y agoAdd exception to the signature, I suppose. At leasy in Java, you can add unchecked exceptions to function signatures. Checked exceptions are an old idea. Good to see them go away. Just use a “context manager” by passing a callable somewhere.