Join Slack
Powered by
Hi, does anyone know why Kotlin supports one line ...
# announcements
l
louiscad
09/18/2017, 9:47 PM
Hi, does anyone know why Kotlin supports one line
if
or
else
expressions, but doesn't support one line
try
or
catch
one line "blocks"? I mean, is it intentional to disallow `try`/`catch` one liners? Or because support for it just wasn't implemented yet?
Open in Slack
Previous
Next