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

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



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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: