|
|
|
|
|
by imanaccount247
4270 days ago
|
|
No it is not. Ocaml's objects make it less practical, not more. That is why they are virtually completely unused. At best, for loops are irrelevant. I'd say they are closer to a negative than irrelevant though. What do you mean "more edge cases?" That the language is less safe? How is that practical? Haskell has mutable references too, with the added benefit of them being type safe. And haskell has extensible records, they are just a library like anything else: http://hackage.haskell.org/package/vinyl |
|
Not necessarily.
> And haskell has extensible records, they are just a library like anything else:
And OCaml has monads, they are just a library like else.