I drifted away from Scala (job wise), but are there no more sealed traits, just enums? The enums with fields seems dangerous
-
-
-
Sealed traits are still there. The new enums add more flexibility, as well as concision, compared to the the old enumerations, so they can be used for many abstract data types now.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.