News for hackers. Stuff that matters.
Re:Why GitHub used Haskell for Semantic by _bxg1 on Wednesday June 05, 2019 @09:39PM (#20110811)
> I would argue that it is far, far more common for people to writing stateful code to do things that are better done in functional style, than the other way around.

For sure. But still, there exist cases. Many of them in JavaScript, actually. In my JavaScript UIs I relish every opportunity to write something as a pure function. But I also need to manage a lot of deeply structured, non-homogenous state that's genuinely meaningful to the application. Separating the two is crucial, but both exist. I've really enjoyed MobX, as it allows you to make the most of both types of programming and hook them up together in a cohesive way.

> I think Haskell is not more widely used in the industry because it has a very academic reputation...you are more likely to be perceived as some eccentric scholar or their like.

And yet Clojure has gotten traction :)

There are no comments on this comment yet.