3 ms·
Considering neither is the language I use for work, but just as a hobby, I often forget how to write code in these languages after a while. The amount of time
by truncate 8y ago
Considering neither is the language I use for work, but just as a hobby, I often forget how to write code in these languages after a while. The amount of time to get back on track to write idiomatic OCaml is almost instantaneous as opposed to Haskell.
Disclaimer: I've written far more OCaml code than Haskell, so maybe my opinion may be biased.
- nv-vn 8y agoYes, 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.
- withthewind 8y agoI like to liken it with muscle atrophy. Gotta get my weekly fix of Haskell to maintain it!