Re: Functional Programming in the Larger or Functional Oriented Software Engineering

[email protected] Wed, 28 Mar 2007 10:22:44 -0800 (PST)
Newsgroups gmane.comp.lang.lightweight
Message-ID <[email protected]>
> It is true that having your state encapsulated is much better than the
> alternative of having your state hanging out all over the place.  When an object is modified
> in a surprising way, at least you know where to find the offending code.

Of course, with C++, you get the worst of both worlds: stateful objects and global state.

On the other hand, folks really miss having global state in Haskell.  It has 
its uses.

-- Paul