cedric
12/03/2017, 4:05 AMPair is different in the sense that it's not an encoding of a sum type. But to answer your question, no, I usually stay away from Pair. The few times I've been tempted to use it, I always ended up using an actual class, which is made so much easier in Kotlin when I can define such a class in one line.