Another thing I really miss in Kotlin is Swift’s s...
# language-proposals
g
Another thing I really miss in Kotlin is Swift’s simplified declaration of read-only computed properties (where you can omit the
get
block) - which I use a lot:
Copy code
// Kotlin
val area: Double
	get() {
		return width * height
	}

// Swift
var area: Double {
	return width * height
}