3 ms·
Clojure's focus, after simplicity, is functional programming. Haskell's focus is as an experimental vehicle for type system theory. If you want to teach type s
by slowmovintarget 9y ago
Clojure's focus, after simplicity, is functional programming.
Haskell's focus is as an experimental vehicle for type system theory. If you want to teach type system and category theory, use Haskell.
Functional programming does not require Hindley-Milner type inference, and that happens to be one of the larger cognitive hurdles in Haskell. Algorithm W is a layer on top of the Lambda Calculus, not something essential for understanding it.
+1 for using Clojure to teach Lambda Calculus^h^h^h functional programming.
- platz 9y agoJust because there are some folks that use Haskell for for experimental studies, doesn't mean that Haskell is not a great language for line-of-business programming. I can't say it better than Gabriel Gonzalez: "Haskell is unbelievably awesome for maintaining large projects. There's nothing that I can say that will fully convey how nice it is to modify existing Haskell code. You can only appreciate this through experience. When I say that Haskell is easy to maintain, I mean that you can easily approach a large Haskell code base written by somebody else and make sweeping architectural changes to the project without breaking the code."