3 ms·
All public members are legitimate APIs. Would you be more happy if every property had get* and set* methods so now it counts as two?
by sytelus 7y ago
All public members are legitimate APIs. Would you be more happy if every property had get* and set* methods so now it counts as two?
- ptx 7y agoI think the point was that often "an API" means a larger collection of functions, classes, properties, etc. Like the COM API, the DirectX API, the MFC API and so on.
- denisw 7y agoYes, that's what I meant. The use of the term "API" for a single public code element is something I have not come across in any other language community, hence the clarification for those who are not familiar.
- tasogare 7y agoI've seen it before in Apple communication. I hate this usage. It doesn't cost a lot of keystrokes to write "API members" which is more precise.