3 ms·
If they're not supposed to be used, why can they be used? Hyrum's law strikes again! With a sufficient number of users of an API, it does not matter what you p
by cowboy_henk 1y ago
If they're not supposed to be used, why can they be used? Hyrum's law strikes again!
With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody. (https://www.hyrumslaw.com/ https://www.hyrumslaw.com/)
- colejohnson66 1y agoBecause Objective-C doesn’t have access controls. If a method exists, you can call it. A "private" API is just an undocumented one.
- LeoNatan25 1y agoGiven enough motivation, access control is irrelevant too. See early Windows "private" API that was used for decades and Microsoft supported despite being "private", because they knew it was being used and they (used to) care about their users.