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

This is probably just me but...

I often write code backwards using the IDE capabilities. Say I instantiate an object, I'd write "[[Foo alloc] init]" (most of that auto-completed), then use the keyboard shortcut to assign it to an appropriately classed and named local variable.

It just seems redundant to write all of "Foo *foo = [[Foo alloc] init]". For one you're typing the class twice - clearly redundant. Secondly, this is a temporary local variable, it doesn't need a custom name. It shouldn't have a custom name.

It's not so much about typing speed, more like a general dislike of redundancy.

The theorem is the more redundant the language, the more IDE help it requires. Objective-C is the worst I know. Although they're adding more and more layers to the compiler to make it less so.




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

Search: