News for hackers. Stuff that matters.
Re:Thoughts on Haskell by dominotw on Saturday October 17, 2015 @02:04PM (#10405377)
Can't tell if you are being sarcastic.
Re:Thoughts on Haskell by kushti on Saturday October 17, 2015 @02:19PM (#10405433)
No, I just think after Objective C it's hard to get into a lot of new concepts simultaneously. So it's better to start with those dirty hybrids where you can start with imperative style to get into idiomatic OCaml/Scala approach then and only after dive into pure lazy functional programming with strict static typing. It would be useful to read "Types and Programming languages"(and maybe some other books) as well on this road.
Re:Thoughts on Haskell by spion on Saturday October 17, 2015 @02:39PM (#10405510)
I would disagree about Scala - I tried to get started with it and often got utterly confused. Haskell was easy by comparison - sure there were lots of concepts to learn but less gotchas and much cleaner syntax made up for it.
Re:Thoughts on Haskell by LeonidasXIV on Saturday October 17, 2015 @03:21PM (#10405668)
The way to write imperative style in OCaml is so painful that I'd expect people to just drop off on the way. I mean, it's nice that it's possible, but I don't think it's a reasonable migration path.
Re:Thoughts on Haskell by mercurial on Saturday October 17, 2015 @05:50PM (#10406278)
Yeah, don't get confused by the fact that there is an "O" in OCaml. This does not mean that you can write "imperative OCaml" the way you can use Scala as "shorter Java". "Imperative OCaml" is much closer to "imperative Haskell" without the monadic effect system.