Re: WTF? How can this work?
Re: WTF? How can this work?
- Subject: Re: WTF? How can this work?
- From: Chris Gehlker <email@hidden>
- Date: Sun, 19 Aug 2001 18:46:00 -0700
On 8/19/01 3:07 AM, "Ondra Cada" <email@hidden> wrote:
>
2nd BUT: security: if I am using an immutable class and I make a bug of
>
using is as if it were a mutable one, I suppose the app would stop and write
>
a decent info to console!
I can't agree here. I don't want ANY error checking overhead on fundamental
methods of the fundamental containers. I think it would be much better to
provide NSCheckedArray and NSMutableCheckedArray for when this kind of thing
is needed.
Maybe addCheckedObject and similar make some sense as well.
--
C++: The power, elegance and simplicity of a hand grenade.