Yes, writing Haskell definitely takes a mental context switch. You kind of have to abandon the traditional style of programming in order to transition into it. Pretty similar to what writing Prolog feels like for example. In contrast, it seems like there's a more direct line between languages like OCaml/Lisps versus C/Java.
Re:Functional Programming in OCaml
by withthewind on Saturday March 02, 2019 @09:57PM
(#19292414)
I like to liken it with muscle atrophy. Gotta get my weekly fix of Haskell to maintain it!
Disclaimer: I've written far more OCaml code than Haskell, so maybe my opinion may be biased.