Remove if branches, or make optional

I have meant round brackets, sry for misunderstanding

If Kotlin is position itself like a new type lang for development it must take all of syntax sugaring from Swift.
Its not a C/Java, its a new language for comfortable development, not for storing old rudiments.

What I mean:

if someCondition && condition2 {
    someStatementOrCall()
    ...
}

optional: (its better to always have curly braces, if hard to parse this)

if someCondition
    sigleLineStatement()

Also why argument labels using ‘=’ instead of ‘:’ ?) C++ rudiment, too?

1 Like