# Has anybody tried Haskell?

**URL:** <https://forum.freecodecamp.org/t/has-anybody-tried-haskell/5343>\
**Category:** General\
**Created:** [May 27, 2016, 6:15pm UTC](https://forum.freecodecamp.org/t/has-anybody-tried-haskell/5343 "2016-05-27T18:15:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mizu](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/mizu/32/95363_2.png) [@Mizu](https://forum.freecodecamp.org/u/Mizu)\
**Post date:** [May 27, 2016, 6:15pm UTC](https://forum.freecodecamp.org/t/has-anybody-tried-haskell/5343/1 "2016-05-27T18:15:13Z")

</div>

I was curious when [mpjme](https://www.youtube.com/channel/UCO1cgjhGzsSYb1rsB4bFe4Q) (a youtube guy talking mainly about programming in JS) praised Haskell for learning/using functionnal programming.

Has any of you tried it ? What are your opinions ? How does it compare to vanilla JS ?

---

<div class="post-metadata">

**Author:** ![stewartmurrie](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/stewartmurrie/32/911_2.png) [@stewartmurrie](https://forum.freecodecamp.org/u/stewartmurrie)\
**Post date:** [May 27, 2016, 6:54pm UTC](https://forum.freecodecamp.org/t/has-anybody-tried-haskell/5343/2 "2016-05-27T18:54:09Z")

</div>

[https://xkcd.com/1312/](https://xkcd.com/1312/) 😂

Yes, Haskell is one of the more complete functional languages so you can certainly learn a lot about functional programming. However, to really make use of it you also need pretty good understanding of FP theory which may or may not be something you’re interested in learning. JS, by comparison, is maybe better considered as a language with functional features. Luckily, they chose the most useful features (like closures, lambdas, first-class functions and function chaining) which makes it a very practical language. Wikipedia has a pretty good [comparison of functional features] ([https://en.wikipedia.org/wiki/Comparison\_of\_functional\_programming\_languages](https://en.wikipedia.org/wiki/Comparison_of_functional_programming_languages)) between the major functional languages.

So the answer probably depends on how comfortable you are with FP in JS. If you think you understand it pretty deeply then by all means start looking at the ‘purer’ FP languages. (A good litmus test might be Eric Elliot’s excellent two-part post [The Two Pillars of Javascript] ([https://medium.com/javascript-scene/the-two-pillars-of-javascript-pt-2-functional-programming-a63aa53a41a4#.eexzwxzam](https://medium.com/javascript-scene/the-two-pillars-of-javascript-pt-2-functional-programming-a63aa53a41a4#.eexzwxzam))—if that all makes sense to you, you’re probably ready for more). But if not, you might as well stick with JS and keep learning functional techniques with that. There are plenty of good resources out there!

---

<div class="post-metadata">

**Author:** ![Mizu](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/mizu/32/95363_2.png) [@Mizu](https://forum.freecodecamp.org/u/Mizu)\
**Post date:** [May 27, 2016, 7:09pm UTC](https://forum.freecodecamp.org/t/has-anybody-tried-haskell/5343/3 "2016-05-27T19:09:18Z")

</div>

Thank you, I might not be ready just yet 😯. I was just amazed by all the possibilities Haskell has (all thoses utilities functions) that vanilla JS lacks…

I like it’s syntax (it reminds me a bit of ruby). One thing I even not checked beforehand is that it can compile to JS, so it might be handy in the future!

---

<div class="post-metadata">

**Author:** ![ArielLeslie](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/arielleslie/32/264841_2.png) [@ArielLeslie](https://forum.freecodecamp.org/u/ArielLeslie)\
**Post date:** [May 27, 2016, 8:12pm UTC](https://forum.freecodecamp.org/t/has-anybody-tried-haskell/5343/4 "2016-05-27T20:12:16Z")

</div>

I haven’t tried it yet, but I’ve met a few people (especially math-y people) who are pretty evangelical about it. [Learn You A Haskell For Great Good](http://learnyouahaskell.com/) has been strongly recommended to me and is free.

---

<div class="post-metadata">

**Author:** ![ltegman](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ltegman/32/166123_2.png) [@ltegman](https://forum.freecodecamp.org/u/ltegman)\
**Post date:** [May 27, 2016, 8:42pm UTC](https://forum.freecodecamp.org/t/has-anybody-tried-haskell/5343/5 "2016-05-27T20:42:53Z")

</div>

I’ve played around with Haskell a bit and found it very fun, however it can be quite jarring to wrap your head around because FP is so different from imperative programming. It’s still so foreign to me that many problems I would find ‘easy’ to think about in JS are very difficult in Haskell. However, this completely different paradigm is really fascinating and I feel like starting to use/understand it has made me an overall better programmer.

I’d echo @ArielLeslie’s recommendation of Learn You a Haskell for Great Good and let you know that Code Wars has Haskell challenges, so you can challenge yourself with real code challenges as you read through the core concepts in LYaHfGG, which helps enforce them.

---

<div class="post-metadata">

**Author:** ![Oxyrus](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/oxyrus/32/69509_2.png) [@Oxyrus](https://forum.freecodecamp.org/u/Oxyrus)\
**Post date:** [May 28, 2016, 8:17pm UTC](https://forum.freecodecamp.org/t/has-anybody-tried-haskell/5343/6 "2016-05-28T20:17:48Z")

</div>

Yes, and my mind almost exploded, it isn’t that easy for me; I tried it because one of my teachers wrote his thesis about functional parsers or something like that, must recall I didn’t understand a single thing…

---

<div class="post-metadata">

**Author:** ![Mizu](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/mizu/32/95363_2.png) [@Mizu](https://forum.freecodecamp.org/u/Mizu)\
**Post date:** [May 29, 2016, 10:52pm UTC](https://forum.freecodecamp.org/t/has-anybody-tried-haskell/5343/7 "2016-05-29T22:52:41Z")

</div>

Thanks for the replies ! I think I’ll stay with javascript haha, Haskell does sounds powerful but it is quite complex too. I just with JS syntax had more in common with it !

---

<div class="post-metadata">

**Author:** ![jwilkins.oboe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jwilkins.oboe/32/179497_2.png) [@jwilkins.oboe](https://forum.freecodecamp.org/u/jwilkins.oboe)\
**Post date:** [January 16, 2021, 3:46am UTC](https://forum.freecodecamp.org/t/has-anybody-tried-haskell/5343/8 "2021-01-16T03:46:54Z")

</div>

Closed on January 16, 2021, 3:46am UTC


