3 ms·
> OCaml, Haskell and Lisp are spectacular. Erlang is spectacular. Tcl and Python are spectacular. C# is an OK-language at best. C# not only has built-in monad
by noblethrasher 11y ago
> OCaml, Haskell and Lisp are spectacular. Erlang is spectacular. Tcl and Python are spectacular. C# is an OK-language at best.
C# not only has built-in monad comprehensions, it can straightforwardly simulate type classes/traits (which even F# can't do). It also has a full metaobject protocol for handling (extreme) late binding, and a good concurrency story (though I rather prefer the Actor Model).
Really, C# only pretends to be a blue-collar language.
- masklinn 11y ago> C# not only has built-in monad comprehensions IIRC linq is just a structural transformation. Most languages can define monadic instances, that's not the difficulty (or the value) > it can straightforwardly simulate type classes Without HKT? > it can straightforwardly simulate traits by copy/pasting extension methods? > It also has a full metaobject protocol you can change the inheritance tree of a C# object at runtime?