Re:Haskell Problems for a New Decade
by TheAsprngHacker on Friday January 24, 2020 @01:08PM
(#22140856)
For what it's worth, despite the O in OCaml, in practice the object layer isn't used that often. However, that's because the ML module system serves many of the same use cases that objects and classes do in other languages. People do use objects in OCaml occasionally if they need the dynamic dispatch.
I'd say that OCaml blends imperative and functional programming cohesively and fairly equally, though.
Re:Haskell Problems for a New Decade
by lonelappde on Friday January 24, 2020 @02:31PM
(#22141634)
The python leadership commitee has always been explicitly anti "functional programming". They only allow a few functional things that serve Python's overall goal of making basic problems simple to solve.
FWIW, I also don't know that Python officially conceives of itself as multiparadigm so much as as a procedural language with classes. Kids these days forget that higher-order programming has a long history in procedural programming, too. ALGOL was doing it in the 1960s, after lisp but a good decade before Backus published Can Programming Be Liberated from the von Neumann Style?.