Re: When to use mutable state

2011-10-14 Thread Michael Gardner
On Oct 14, 2011, at 8:48 AM, Timothy Baldridge wrote: > On Fri, Oct 14, 2011 at 7:58 AM, pistacchio wrote: >> I'm implementing a litte "game" thing in Clojure. So far I'm passing >> around a "world status" object among functions. It is very >> "functional" and I can simulate any moment of the gam

Re: When to use mutable state

2011-10-14 Thread Timothy Baldridge
On Fri, Oct 14, 2011 at 7:58 AM, pistacchio wrote: > I'm implementing a litte "game" thing in Clojure. So far I'm passing > around a "world status" object among functions. It is very > "functional" and I can simulate any moment of the game my simply > feeding the system with a made-up world state.

When to use mutable state

2011-10-14 Thread pistacchio
I'm implementing a litte "game" thing in Clojure. So far I'm passing around a "world status" object among functions. It is very "functional" and I can simulate any moment of the game my simply feeding the system with a made-up world state. Since Clojure has a very sophisticate system for managing