3 ms·
If I may ask, which language is more functional feature wise, F# or OCaml?
by philonoist 8y ago
If I may ask, which language is more functional feature wise, F# or OCaml?
- daxfohl 8y ago"More functional" is not a precise term. However OCaml would fit most everyone's idea of "functional" more than F#. F# has to be compatible with the underlying .Net runtime, so it cannot have features like abstraction over modules, which is a very powerful functional abstraction in OCaml. F# also builds mostly on libraries built in C#, so unless you want to build wrappers on top of everything, you'll be doing a lot of OOP in F# as well. (Which I think is fine, I think OOP fits well in lots of cases and it's nice to be able to mix and match).