Most #Scala traits actually prevent code reuse, not enable it.
-
-
Replying to @puffnfresh
@puffnfresh What's the essential difference between those that do and those that don't?1 reply 0 retweets 0 likes -
Replying to @runarorama
@runarorama sealed traits are usually fine, traits as type-classes are great. I can't think of a sensible use outside of those.2 replies 1 retweet 1 like -
Replying to @puffnfresh
@puffnfresh@runarorama but gee, doesn't that exclude the cake pattern?2 replies 0 retweets 0 likes -
-
Replying to @runarorama
@runarorama@purefn@puffnfresh what is it that folks don't like about the cake pattern? I thought it was a bit like ML modules for Scala.3 replies 0 retweets 0 likes
Replying to @steshaw
@steshaw @runarorama @purefn @puffnfresh in fact the problem is zero benefit for enormous penalty. Economists despise the cake pattern.
8:50 PM - 11 Apr 2014
0 replies
0 retweets
0 likes
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.