Skip navigation.
 
mlRe: NSArray - waste of time?
FROM : John C. Randolph
DATE : Fri Apr 27 11:27:10 2007

On Apr 14, 2007, at 11:26 AM, William Squires wrote:

> What advantage does using an NSArray/NSMutableArray have over using 
> an ordinary C-style static/dynamic 'array'


C doesn't have arrays (or strings, for that matter), it just has 
pointers that pretend to be arrays.  This is the single biggest 
security and reliability hazard in the language.

-jcr

Related mailsAuthorDate
mlNSArray - waste of time? William Squires Apr 14, 20:26
mlRe: NSArray - waste of time? Nick Zitzmann Apr 14, 20:29
mlRe: NSArray - waste of time? Scott Stevenson Apr 14, 20:34
mlRe: NSArray - waste of time? Todd Heberlein Apr 14, 22:02
mlRe: NSArray - waste of time? Fen Soares Apr 25, 23:02
mlRe: NSArray - waste of time? Dave Camp Apr 25, 23:26
mlRe: NSArray - waste of time? mathew Apr 25, 23:29
mlRe: NSArray - waste of time? John Stiles Apr 26, 00:09
mlRe: NSArray - waste of time? Marcel Weiher Apr 26, 22:26
mlRe: NSArray - waste of time? Robert Walker Apr 26, 23:07
mlRe: NSArray - waste of time? Scott Anguish Apr 27, 07:55
mlRe: NSArray - waste of time? Scott Stevenson Apr 27, 08:46
mlRe: NSArray - waste of time? John C. Randolph Apr 27, 11:27