|
|
|
|
|
by _akei
2379 days ago
|
|
They explain it here[1] on their discussion forum but still it doesn't make sense to me. If is a statement in every language I know and returns a value, but still those languages have ternary operator. I suspect they don't want to end up with a language similar to what we already have. They want to be different. Even when it isn't necessary. [1] https://kotlinlang.org/docs/reference/control-flow.html |
|