3 ms·
Interesting how different experiences with the same thing can be! :) > it helps to have some people around who know what they are doing I think that's the cru
by pdimitar 6y ago
Interesting how different experiences with the same thing can be! :)
> it helps to have some people around who know what they are doing
I think that's the crux of my issue. OCaml wasn't the easiest to start with either but it took me 2-3 casual evening sessions to just be able to sketch code and run it immediately with almost no hassle.
But yeah, can't deny Haskell kind of rubbed me the wrong way so I am likely biased now.
- eru 6y agoIt does feel fun to bust out a few Project Euler challenges with OCaml; and as a reasonable experience programmer you should be able to do that after those 2-3 casual evening sessions. It's been a few years since I last did OCaml. At that point, the ecosystem was a bit more mature for Haskell. More libraries, better editor support, etc. In some platonic sense I like small languages, but I had come to appreciated all the extra comfort Haskell provides. OCaml was just too much in the uncanny valley of being almost Haskell, but then missing some nice-to-haves. I might grumble, but OCaml is a pure pleasure compared to C++. Btw, they finally added (optional) stacktraces to Haskell a few years ago. About all the language extensions in Haskell: I like them, but they can be overwhelming. Luckily, the language extensions your libraries use has almost never any bearing on what language extensions your client code uses. So you can ignore the extensions, and still use your favourite libraries.
- garethrowlands 6y agoSeems likely Haskell will get stack traces by default fairly soon.
- eru 6y agoGHC already gives you stacktraces when you compile with profiling on. You say they are going to turn them on by default? Interesting!