4 ms·
When you put it like that, modules sound more powerful than typeclasses. Is there any situation where typeclasses are superior to modules?
by elbear 6y ago
When you put it like that, modules sound more powerful than typeclasses. Is there any situation where typeclasses are superior to modules?
- ratmice 6y agoI think the extra power comes with cognitive overhead, I.e. operators are now relative to some module, and you're stuck with that overhead whether or not you actually use the power or not. Trying to stay neutral, I think its no suprise that some people prefer typeclasses...