3 ms·
Good point. Though implicits I feel are so much simpler than many people fear. From a Ruby perspective: Just think of them as operating similarly to Refinemen
by ssmoot 12y ago
Good point.
Though implicits I feel are so much simpler than many people fear.
From a Ruby perspective: Just think of them as operating similarly to Refinements, except not completely insane because there is no global scope at compilation. You only have to worry about your own package, imports and inheritance.
Tracking down an implicit generally takes all of 10 seconds, and never more than a few minutes. Even moderately brain-bendy ones like akka.patterns.ask (where does the implicit "?" come from? "ask" is actually an implicit conversion to a class that defines it: https://github.com/akka/akka/blob/master/akka-actor/src/main/scala/akka/pattern/AskSupport.scala#L77-L92 https://github.com/akka/akka/blob/master/akka-actor/src/main...).