4 ms·
What's wrong with implicits?
by frowaway001 13y ago
What's wrong with implicits?
- Ygg2 13y agoMagic.
- frowaway001 13y ago... done right? I mean the most hated implicits are implicit conversions and they basically exist for Java compatibility.¹ So on the one side you have terrible stuff hard-coded into the language (Java, C#) which you will never get rid of and on the other side you have a solution as a library which you just can de-import if you don't want to suffer from e. g. magic anything-to-String conversions any longer (I certainly won't). That's a huge plus in my book. ¹ The two other main use cases, type classes and extension methods, seem to be hugely popular and I haven't seen any criticism concerning them.