I want to learn Haskell and Lisp. But I am in puzzle to learn which one at first. If i learn Haskell first and it will be easier to learn Lisp or Learning Lisp at first will help to learn Haskell.
Ask HN: Lisp or Haskell at first?
1–7 of 7 posts
Re: Ask HN: Lisp or Haskell at first?
#2But you can be productive in (most) Lisp(s) without touching macros. It is often suggested to try very hard to do so. And I've personally found that, library spelling issues aside, Python code translates almost 1-to-1 to Lisp with simple text replacements.
But any non-trivial application in Haskell is going to have to approach problems in fairly different ways than any other language. Lazy evaluation; pure, side-effect-free functions; types and type classes and all that jazz; emphasis on solutions involving the "fold" function, rather than recursion. It's significantly different than most other languages I've encountered.
Re: Ask HN: Lisp or Haskell at first?
#3Having studied Lisp and recently started on Haskell, I find Lisp to have a shallower learning curve. For Lisp, people fear the day they have to learn its macros. For Haskell, that monster lurking in the closet is the type system. But you can be productive in (most) Lisp(s) without touching macros. It is often suggested to try very hard to do so. And I've personally found that, library spelling issues aside, Python co…
The idea is that you write "almost" all the code in small functional functions without side effects, but you can use side effect when the functional solution is very difficult.
Most of them are not typed (there is a Typed Racket version, but the type system is not similar to the Haskell type system).
Re: Ask HN: Lisp or Haskell at first?
#4Re: Ask HN: Lisp or Haskell at first?
#5Haskell the language is powered by the tears of the gods. But it may not have the world class tooling you get with lisp.