Mixing FP and OOP concepts sometimes give weird re...
# language-proposals
o
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