Hacker News new | past | comments | ask | show | jobs | submit login

To be honest with you [[stuff objectAtIndex:5] objectForKey:@"name"] is less readable than stuff[5][@"name"]. And you type this kind of code constantly over and over again, it can really stack up and create something that would be simple to read in other languages.



Except that if you're used to Smalltalk, this is just standard fare.

I agree that a Python-like shorthand would be great at the object level, but then you'd have a mixture of shorthand and longhand, and that would be ugly.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: