Real talk - do you actually LIKE implicits? If so, why? What makes them a better idea than always explicitly passing stuff instead? #scala
-
-
Replying to @DanielleSucher
@DanielleSucher I think of them as an unusual form of type-based dispatch. Not so different from the "implicitness" of calling a method.1 reply 0 retweets 3 likes -
Replying to @avibryant
@DanielleSucher they have some interesting properties that method dispatch doesn't (like needing to be imported in lexical scope).1 reply 0 retweets 0 likes -
Replying to @avibryant
@DanielleSucher and being able to recursively construct implementations for complex nested types. Those properties do make them hard to grok2 replies 0 retweets 3 likes -
Replying to @avibryant
@avibryant That's interesting. Off the top of your head, do you know where I might go to see an example of that kind of usage?1 reply 0 retweets 0 likes
@DanielleSucher Algebird is an obvious example. Think about what happens when you .sum a pipe of Map[String,Map[Int,(Int,Max[Int],HLL)]]
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.