Hacker News new | ask | show | jobs
by azarovalex 1726 days ago
Here are some more from iOS SDK

Longest Objective-C Method Name: initWithEnableFan:enableAirConditioner:enableClimateControl:enableAutoMode:airCirculationMode:fanSpeedIndex:fanSpeedPercentage:relativeFanSpeedSetting:temperature:relativeTemperatureSetting:climateZone:

Longest C function name: CMMetadataFormatDescriptionCreateWithMetadataFormatDescriptionAndMetadataSpecifications

Longest Enum Constant Name: kCMBufferQueueTrigger_WhenDurationBecomesGreaterThanOrEqualToAndBufferCountBecomesGreaterThan

Source: https://github.com/Quotation/LongestCocoa

2 comments

It's where the "introduce parameter object" refactoring should come into play.

But on the other hand, it works, don't change working code.

At this point I would name my object something like iwif_eace and leave the longer name in a comment.