News for hackers. Stuff that matters.
Re:Functional Thinking after OO by jamii on Tuesday March 15, 2011 @12:58PM (#2328323)
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.

> programming a GUI or other heavily event-driven environment

Nitrogen is a nice event-based GUI library written in erlang. Have a look at the demos here: http://nitrogenproject.com/demos

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.)