Declaring members as published
has advantages over public
:
- Ability to read/write the member in the Object Insepoctor of the IDE
- RTTI and its uses
So is there ever a benefit to declaring members public
instead of published
? Does published
have any downsides? Or should I always declare members published
, as a rule?
PS: Not a duplicate; I read that question and all its answers prior to posting my question. The "possible duplicate" question explains the difference between the two keywords, but doesn't gives guidance when either should be used, or the advantages/disadvantages of using either.