3 ms·
Objective-C 64bit ABI doesn't have fragile base classes; there's an extra layer of indirection to access any data member of an object. And it actually has priv
by astrange 15y ago
Objective-C 64bit ABI doesn't have fragile base classes; there's an extra layer of indirection to access any data member of an object.
And it actually has private data members! Isn't that nice.
(Private meaning they aren't declared in the public headers, not meaning it uses the useless 'private' attribute.)
- deleted 15y ago[deleted]
- pjmlp 15y agoYes it does, as any OO language does. This is not only about data member access. It also applies to adding methods on the base class that change the behavior of existing methods in already declared subclasses. Take a cup of coffee and read this famous paper about the issue, http://www.cas.mcmaster.ca/~emil/Publications_files/MikhajlovSekerinski98FragileBaseClassProblem.pdf http://www.cas.mcmaster.ca/~emil/Publications_files/Mikhajlo...