Scala doesn’t have type-safe enum
s like Java has. Given a set of related constants, what would be the best way in Scala to represent those constants?
Scala doesn’t have type-safe enum
s like Java has. Given a set of related constants, what would be the best way in Scala to represent those constants?