https://kotlinlang.org logo
#language-proposals
Title
# language-proposals
o

orangy

06/20/2016, 9:56 PM
Mixing FP and OOP concepts sometimes give weird results. E.g. in FP almost everything is positional, and in OOP most things are named. And then,
Copy code
data class MatrixLocation(val row:Int, val column:Int)
…
val (x,y) = location