News for hackers. Stuff that matters.
Re:Cocoa's NSMutableArray changes implementation based on th... by tomwans on Tuesday April 05, 2011 @11:37PM (#2413821)
it is surprising because most people probably expect NSArray to just work like a plain array (see the naive C implementation)
Re:Cocoa's NSMutableArray changes implementation based on th... by rosenjon on Wednesday April 06, 2011 @10:48AM (#2415264)
I think the ability to combine C code in Obj-C allows for the usage of a huge legacy code base. However, I wouldn't be surprised if there was a design decision at some point that deliberately made it harder to port NextStep (NS) objects back to C. Creates lock-in...
Re:Cocoa's NSMutableArray changes implementation based on th... by rosenjon on Wednesday April 06, 2011 @04:56PM (#2416927)
Why'd I get down-voted for this?
Re:Cocoa's NSMutableArray changes implementation based on th... by cubicle67 on Wednesday April 06, 2011 @01:02AM (#2413970)
yes, so there'd be NSArray and NSImmutableArray