I confess I find comparing unfavourably to Objective-C how using interfaces in Delphi means a general 'overhead' of _AddRef and _Release calls a bit... weird. Hello ARC everywhere, hello universal runtime method dispatching...
>In fact, class may have “ordinary” users, >“advanced” users and “experts” . > >Sometimes we want to provide each class of >users with its "own level of access" to design >class methods.
Just take a deep breath, make everything public, and document what people should use. You'll feel better. :-)
No. Just no. Please. Do not spread this kind of thing, because it's dangerous.
ReplyDeleteI confess I find comparing unfavourably to Objective-C how using interfaces in Delphi means a general 'overhead' of _AddRef and _Release calls a bit... weird. Hello ARC everywhere, hello universal runtime method dispatching...
ReplyDelete>In fact, class may have “ordinary” users,
ReplyDelete>“advanced” users and “experts” .
>
>Sometimes we want to provide each class of
>users with its "own level of access" to design
>class methods.
Just take a deep breath, make everything public, and document what people should use. You'll feel better. :-)
http://steve-yegge.blogspot.com/2010/07/wikileaks-to-leak-5000-open-source-java.html