Delphi consensus: interface implementing classes expose methods at private or protected level.
Posted by jpluimers on 2020/09/02
Interesting consensus at which is very similar to my experience: [WayBack] I’ve inherited a project and the developer uses lots of interfaces (All good here!). Then when they develop the interfaced classes, the methods from th… – John Kouraklis – Google+
Some go even further and even declare the classes in implementation sections, but for me that gives too much RTTI hassle:
Private types (types in the implementation section of units) do not get qualified names.
via: Delphi: TRttiContext.GetType versus TRttiContext.GetTypes is not about singular versus plural…
–jeroen
Leave a comment