News for hackers. Stuff that matters.
Re:Functional Thinking after OO by eru on Tuesday March 15, 2011 @02:13PM (#2328681)
> I don't think anyone (sensible) is advocating that the entire program must be free of side effects, just that side effects have a cost in terms of clarity and maintainability and so should be avoided when possible.

Indeed. Haskell for example, just `tags' all side-effecting code in the type system. You are free to use lots of side-effects in Haskell. (Even though that would miss the point of the language.)

There are no comments on this comment yet.