Slide 48
Slide 48 text
When foo, bar, baz are “var” properies...
if (foo != null && bar != null && baz != null) {
// NG because they are stil nullable
execute(foo, bar, baz)
}
for {
foo <- foo
bar <- bar
baz <- baz
} yield execute(foo, bar, baz)
Kotlin dose not have
such syntax