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

>Because of the high cost of retrofitting a change to an API’s signature to address performance concerns, it’s worthwhile considering the performance implications of your API’s design on its caller.

ObjC is very verbose partly because it went with the "signature encoding" approach, which has its own tradeoffs, but I do appreciate the API consistency.

https://developer.apple.com/library/archive/documentation/Co...




This is mostly a CoreFoundation thing, FWIW. Objective-C generally has enough expressivity to indicate ownership without this convention.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: