3 ms·
The advantage of implicit conversions over monkey patching seems solid, but I'm not an unqualified fan of implicit conversions either. As a Scala newcomer (i.e.
by kevinpet 17y ago
The advantage of implicit conversions over monkey patching seems solid, but I'm not an unqualified fan of implicit conversions either. As a Scala newcomer (i.e. never written a significant app in Scala myself), I find implicit conversions hinder reading code closely enough to be able to modify or extend it. Although the original author may know which import has added some implicit conversions, why, and what they do, this isn't easy to discover after the fact.
It seems that the Idea plugin will show the implicit conversions that are actually used, but it would also be nice to see all implicits in scope at any time.