Language Design


About the Language Design category (1)
Constructors or static functions in interfaces, or a workaround (2)
Observable properties with true listeners instead of a single callback? (3)
Lateinit var for inline methods (4)
Iterating with: operator fun <T> Iterable<T>.invoke(f: T.(Int) -> Unit) (2)
Ternary operator ( 2 3 4 5 6 7 ) (134)
Object vs object declaration (4)
Data class: modify on copy (3)
Why do all secondary constructors have to call the primary constructor? (7)
Destructuring in when (14)
What is the reason behind Smart Cast being impossible to perform when referenced class is in another module? (17)
Suggest new operation combining 'when' & 'with' (2)
Locate specific class in file without the help of IDE (2)
Cascade operator as alternative of apply? (10)
When property access (6)
Nameof to get names of program elements (8)
'when' expression recommended to be exhaustive, even if it is impossible to reach the else branch (4)
Use Kotlin compiler from Java without files? (10)
Kotlin with java9 module (4)
Copy on unmutablelist (7)
Idea how to fit collection literals into language (1)
Kotlin 1.3 (9)
Strange behavior with equality checking (6)
Kotlin is even more confusing than js :) (15)
When can you use suspended sequence functions of classes (5)
Then/catch/finally semantics for coroutines (3)
Purity indicator for functions (5)
Add a concise way to specify that an override method should call the super method (12)
DisplayMessageActivity MyFirstApp (2)
list.binarySearch (4)