Join Slack
<https://twitter.com/kotlin/status/1417124322762711045> #KotlinTips Don’t forget that ‘when’, ‘if’,...
# announcements
u
user
07/19/2021, 2:09 PM
https://twitter.com/kotlin/status/1417124322762711045
#KotlinTips Don’t forget that ‘when’, ‘if’, and ‘try’ are expressions and return results. Using expressions will make your code more concise, idiomatic, and easier to read.
https://t.co/HkIOK8McFK
Twitter
e
enleur
07/19/2021, 3:19 PM
Copy code
runCatching { getData() }
2
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by