Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Personally I find the objective c stuff to take longer to read and understand just because there is allot more text.


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.


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.


Nice.. getting down votes for saying that objective c is more verbose than Python. Most function names are longer and that is the way it is.


you miss the point




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

Search: