I really like how Kotlin wraps up constructors with MyClass(val myValue:Double) to avoid all the excess constructor assignments.
Is there a similar way to shortcut things in a function call in a class? Something that bundles up
fun updateLocations(newX: Double, newY: Double) { x = newX y = newY into
fun updateLocations(magicupdate x, magicupdate y) { // internal x and y are already updated...