|
|
|
|
|
by joeburke
5526 days ago
|
|
Predictably, this blog post reads like a Haskell pamphlet and it hits all the Bingo marks: purity, no side effects, ah but yes side effects with the IO monads, monads, concurrency, the awesome community (seriously? Have they actually looked into it? The #haskell irc channel is moderated by Tony Morris, a lunatic who's been banned from many mailing-lists and channels because of several psychological disorders he suffers from), etc... Even more predictably, not a single word on more pragmatic reasons to choose Haskell as a startup, such as: web and networking support, logging, database access, etc... The odds of a startup succeeding are already vanishingly small, why make it even harder on yourself by picking an exotic language that's all but unknown in the work force? <shakes head> |
|
The idea isn't to get rid of effects but to quarantine them, separate them from simple functions into "procedures". This means you get to have real functions in Haskell, and they truly are easier to compose together than what other languages call "functions" but are actually procedures.
As for concurrency, Haskell is really in a unique spot, where you can get the performance of threads and the simplicity of processes: the immutability of everything not explicitly created for inter-thread communication gives you the same safety of IPC, but the shared memory gives you threads' performance.
I think the benefits outlined on the page may not be specific to web development, but they definitely apply to it too.
I haven't seen Tony Morris abuse anyone in the community, and the IRC channel is an amazing combination of immense knowledge and patience with newbies.