3 ms·
I think c# really got the best of both worlds with extensions methods, where you can actually define functions that act on a object but are separated from the a
by tigershark 8y ago
I think c# really got the best of both worlds with extensions methods, where you can actually define functions that act on a object but are separated from the actual class definition.
I still think that pure functions and especially higher kinded types are better probably, although I have no direct experience with Haskell type classes, scala implicits and ocaml modules..