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

As a primarily Java programmer, those folks need to be drawn and quartered.


Don't go near Cocoa (/Touch) developers. You will be overtaken by rage.


I dabbled in this when I wrote an iOS game for fun. It was pretty surprising how quickly variable names got out of hand. Random iOS class name: AVPlayerItemLegibleOutputPushDelegate[0]. Then you try and make instances of it and you obviously don't want to prefix the class name with something or risk growing the name even more. And god forbid you try and extend the class and then make an instance of that using prefixes to indicate more specific objects.

0 - https://developer.apple.com/library/ios/documentation/AVFoun...


I've heard stories about one year at WWDC's Stump the Experts, they discussed the longest method name in ObjC land. I wish I had been there. I also wish I was going to be there tomorrow, but alas, the marketers and bosses have taken over.


Haha I am also a Java programmer. To be honest, I try and keep things as brief as possible, but I almost never sacrifice readability for brevity. So, I'll admit, some of my variable names get a bit lengthy at times; however, that is for all languages I program in, not just java.




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

Search: