--00151747862e17e20d049eb1e260
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Mar 17, 2011 at 1:00 PM, Klaus Stein <usenet / istik.de> wrote:

> Josh Cheek <josh.cheek / gmail.com> wrote:
> > > [ ! should mark methods changing the receiver ]
> >
> > I think it should become the convention. I consider the bang to be nearly
> > meaningless as is.
> >
> It is _normal_ in OO that objects change state, contrary to functional
> languages. In functional languages any functions with side-effects are
> considered harmful (including print and puts).
> In OO languages changing the state of an object is common:
>
>
My point is not that OO languages are immutable, it is that bang methods are
nearly meaningless. They are too contextual and require too many rules and
exceptions to figure out, they also frequently return nil for no reason that
is apparent to me.

--00151747862e17e20d049eb1e260--