• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WTF? How can this work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WTF? How can this work?


  • Subject: Re: WTF? How can this work?
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 20 Aug 2001 11:20:42 +0200

Chris,

well, it's rather an issue of an opinion, but...

>>>>>> Chris Gehlker (CG) wrote at Sun, 19 Aug 2001 18:46:00 -0700:
CG> >2nd BUT: security: if I am using an immutable class and I make a bug of
CG> >using is as if it were a mutable one, I suppose the app would stop and
CG> >write a decent info to console!
CG>
CG> I can't agree here. I don't want ANY error checking overhead on
CG> fundamental methods of the fundamental containers. I think it would be
CG> much better to provide NSCheckedArray and NSMutableCheckedArray for when
CG> this kind of thing is needed.

...would you like the index-in-bounds check to go from NS(NonChecked)Arrays
as well? Etc.

CG> Maybe addCheckedObject and similar make some sense as well.

IMHO, you'll end with exactly this elegance and power:

CG> C++: The power, elegance and simplicity of a hand grenade.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


  • Follow-Ups:
    • Re: WTF? How can this work?
      • From: Chris Gehlker <email@hidden>
References: 
 >Re: WTF? How can this work? (From: Chris Gehlker <email@hidden>)

  • Prev by Date: Re: in-memory files?
  • Next by Date: Re: libpcap in Cocoa
  • Previous by thread: Re: WTF? How can this work?
  • Next by thread: Re: WTF? How can this work?
  • Index(es):
    • Date
    • Thread