News for hackers. Stuff that matters.
Re:Shell Scripting with Objective-C by natch on Sunday June 01, 2014 @10:18AM (#7829203)
What is going on in the below line?

    c = [t v]
Can you tell me what c represents, and where it got its value? Sure, from [t v], but what are those? No, you can't. You finished reading it really quickly, but you understand very little about what is going on.

"A lot more text" is there for a reason: to explain what is going on.

How about:

    cellsToUpdate = [tableView visibleCells]
This code tells you exactly what each item means. I find clear naming really nice to work with. Not that I would necessarily use exactly that line as a way of doing things, but hopefully you get the idea.
Re:Shell Scripting with Objective-C by shadesandcolour on Sunday June 01, 2014 @11:12AM (#7829404)
I like Objective-C a whole lot, but this is a shitty example. You didn't show what "a lot more text" looks like, you showed everyone what "proper variable names" look like.