Re:Cargo-cult typing, or: Objective-C's default type is id
by Greenisus on Wednesday March 05, 2014 @01:02PM
(#7348525)
I've been developing in Objective-C for years now and I didn't know you could declare a method without explicitly stating a return type. I imagine many other people don't know that either, so I'd argue that saying -(id)doSomething; is more readable.
Now that I know, though, it has become syntactic noise for me.
Now that I know, though, it has become syntactic noise for me.