News for hackers. Stuff that matters.
Re:Haskell for Web Developers by dragonwriter on Friday July 26, 2013 @03:18PM (#6109958)
> I would say that the difference is that the Web is almost entirely about I/O

That's true in the trivial sense, in the same way that "the desktop" is about i/o, or "the command line" is, in that all of those specify an i/o channel.

But web apps or services aren't all about i/o any more than any other applications/services, they just differ in that the main user-facing i/o channel is HTTP.

> Haskell's ideal of minimal I/O isolated in a ghetto so the "real" work of the program can remain unpolluted doesn't seem an ideal match for the case where the real work is almost entirely about routing I/O streams.

Monads aren't ghettos isolated from the real work of the program. Monads are tools for doing the real work of the program -- whether its i/o, or dealing with mutable state in a transactional, concurrency-safe manner, or, well, lots of other things.

Re:Haskell for Web Developers by asdasf on Friday July 26, 2013 @03:59PM (#6110223)
>That's true in the trivial sense

I think it is true in the actual real world practical sense too. Consider how many web applications are just plumbing between a database and a browser. 95% of my app is in a MonadIO.