https://kotlinlang.org logo
#language-proposals
Title
# language-proposals
y

yole

02/28/2016, 11:38 AM
simple case:
when
on a sealed class allows you to omit the
else
branch if you’ve listed all the subclasses of a sealed class because it’s guaranteed that no other class will enter the expression