4 ms·
> Wouldn't it have been better to explore a way which either works for all code or, if that doesn't work out, just embrace instance methods? I suppose the answ
by bunderbunder 13y ago
> Wouldn't it have been better to explore a way which either works for all code or, if that doesn't work out, just embrace instance methods?
I suppose the answer to that question ultimately depends on one's preferences. I like F#'s way of doing things because I like functional programming and idioms, but I also like being able to play nice with a rich pre-existing ecosystem, and don't want to have to do it through a (probably) leaky abstraction.
When I instead want a primarily object-oriented language with some extra support for functional programming slapped on top, I just use C#.
- frowaway001 13y agoIt seems to be kind of insane having to choose between a "better functional" and a "better OOP" language. Why not just combine the good parts into a single language. That would probably be more consistent than the current 80%OCaml + 50%C# => F# mess.