Skip to content

Comment on Why is 80 characters the 'standard' limit for code width?parent

Comments

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.