Re:Objective-C Generics
by cageface on Monday January 13, 2014 @04:15AM
(#7049590)
As other posters have stated, they're very useful for collection classes. I've had a lot of stupid bugs in Obj-C that would have been caught by the compiler if it could verify that only the right kinds of objects are going into an NSArray, for instance.
[ Parent
| on HN ]
There are no comments on this comment yet.