Slide 8
Slide 8 text
Implicitly Bad
• Implicit is essentially, scala’s answer to dependency injection
• Two kind of implicit: parameter and conversion
• Where does the execution context come from? Which one is
used? Hard to know until runtime (!)
• Could use from scope, companion object, injected by other
class, etc. Can’t ever be sure until something goes wrong.
• New user might have to use implicit everywhere if they’re not
careful!
• The good thing is that this problem is very well documented,
and mostly phased out / deprecated.