2 ms·
FWIW, the main (only?) reason Scala needs "implicits" is to deal with polymorphism of generics while being screwed by the JVM's "type erasure": an implementatio
by saurik 15y ago
FWIW, the main (only?) reason Scala needs "implicits" is to deal with polymorphism of generics while being screwed by the JVM's "type erasure": an implementation of Scala that targeted .NET would not need to deal with that, and would therefore also not need the implicits feature.
(That said, the port of Scala to .NET made the design decision to not fix this; however, the reason is not "we liked it", but "we don't want to be incompatible with Scala for the JVM": a decision I consider totally reasonable.)