4 ms·
>Does it make sense to have to learn Haskell and a Haskell framework just to understand Clojure? No, but it makes sense to learn haskell to understand function
by asdasf 13y ago
>Does it make sense to have to learn Haskell and a Haskell framework just to understand Clojure?
No, but it makes sense to learn haskell to understand functional programming, which is what you asked. Clojure's emphasis on purity is essentially useless without a type system to go with it. The type system is what separates the pure functions from the impure ones.
- aryastark 13y agobullshit. Referential transparency is the only requirement. Purity has nothing to do with the type system.
- asdasf 13y agoI don't understand what you are trying to say.
- aryastark 13y agoDo you not understand what referential transparency is? You can write "pure" functions in imperative languages. Any function which returns the same result for the same arguments is a pure function. You could write an entire pure functional program in C if you wanted.
- asdasf 13y ago>Do you not understand what referential transparency is? Yes. I also understand what a petulant child throwing a tantrum is. Nothing you have said is relevant to my post, it is just misguided anger.