I am looking though some source code from a third party and am repeatedly seeing a syntax that is new to me. Basically they are separating statements with commas instead of semi
This is one of my favorite "features" of C, ObjC, etc…
Understanding this operator unlocks all sorts of possibilities for jQuery-like.chain-able.commands, and a more concise (thoug-some-would-argue-less-readable) expression of MANY common idioms.. For example...
-(id)init {
return self != super.init ? nil : [self setProperty:@"EPIC"],
NSLog(@"One line inits are: %@.", _property), self; }
LOG ➜
One line inits are: EPIC.