Re:Objective-C literals for NSDictionary, NSArray, and NSNumber
by glhaynes on Sunday February 19, 2012 @12:07PM
(#3609716)
It's never before fully struck me how cleanly the "Objective-C is too verbose" complaint really breaks down to two separate issues: one of them being that method names are long (which is arguably a plus) and the other being mostly comprised of the stuff that's apparently mostly taken care of with this release. Actually, I suppose there used to be a third, too: (auto)release/retain statements all over the place.
As somebody who loves the long method names but of course wants less syntactic cruft, I'm really happy with their recent progress.
Re:Objective-C literals for NSDictionary, NSArray, and NSNumber
by pjmlp on Monday February 20, 2012 @02:45AM
(#3611672)
Kind of. It does not apply to all Cocoa libraries and you need to follow certain conventions, otherwise the compiler will fail to add the release/retain calls.
As somebody who loves the long method names but of course wants less syntactic cruft, I'm really happy with their recent progress.