Frank Zinner (2) [Avatar] Offline
#1
Maybe a silly question, but do you have an advice how to handle Enumerations? I make use of them but don't know how they fit into this.
Debasish Ghosh (116) [Avatar] Offline
#2
I tend to choose sealed traits and case objects over Enumerations mainly because of compiler support for exhaustivity checking. Have a look at http://underscore.io/blog/posts/2014/09/03/enumerations.html for a comparison .. enumerations have some advantages but quite a few drawbacks too ..

Thanks.