Join Slack
Powered by
There's `Pair` and `Triple`, but I'm curious about...
# announcements
k
karelpeeters
02/26/2019, 3:46 PM
There's
Pair
and
Triple
, but I'm curious about what you mean by "bulky".
data class Point(val x: Int, val y: Int)
isn't a lot of code.
➕ 3
n
nkiesel
02/26/2019, 6:44 PM
yeah, or just use a normal class instead of a data class if you do not want the
toString
etc. methods
3
Views
Open in Slack
Previous
Next