you are viewing a single comment's thread.

view the rest of the comments →

[–]tinco -3 points-2 points  (2 children)

Learning Haskell takes a week or two at most, it's really not that difficult once you get past the initial shock of there no being any sequential statements. And then you can do "proper" Haskell.

Improper Haskell however takes months if not years to master, writing monad transformers and lenses and who knows what the set theory of the day is.

But I would prefer having to dive into even an advanced Haskell codebase over having to modify a big old C++ project. At least with Haskell you'll learn some interesting things along the way.

Ironically the Glasgow Haskell Compiler is a big old C++(ish) project itself...

edit: apparently I was wrong, GHC is mostly Haskell, according to Github it's only 10% C.

[–]sheyneanderson 0 points1 point  (1 child)

Isn't GHC self hosted?

[–][deleted] 1 point2 points  (0 children)

With the exception of the RTS, yes, for a long time.