Re:Clojure vs. Scala
by lmm on Wednesday December 25, 2013 @04:05PM
(#6964241)
> The enum is a bad abstraction because when I play GoFish, the computer asks, "Do you have any 13's?" and when I ask, "Do you have any Jacks?", I am always told to GoFish.
What? No it doesn't. Scala case objects don't have numerical values.
What? No it doesn't. Scala case objects don't have numerical values.