Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Flarp Nice. 👍🏼 Just like in Kotlin. Do you also tend to use it instead of if-else?
-
So much Functional. It remember me the match with F# syntax.
So beauty.... But for some things really "meh, i'm losing time" -
more readability in my opinion.
nothing wrong, use what suit u best xD
(unless there is a syntax standard in that project.)
Related Rants
While getting a pro in Kotlin, I started using
when(condition) {
true -> doOneThing()
false -> {
xyz = whatEver()
blaBla()
}
}
instead of simple if-else.
It looks nice but also distracting.
What is your opinion on that?
I guess most will be like:
undefined
syntax
kotlin