They even delivered a great tool with it: the Object Inspector. The class TForm is their standard mediator class which handles (wires) events from components put on the form. The use of events makes de-coupling of objects possible. Their solution to this problem is essentially: events (or method pointers).
As a result, you may be forced to define many subclasses to customise the system's behaviour.ĭevelopers at Borland probably were aware of the above mentioned paragraphs when designing the Delphi Object Pascal language and the VCL components. Moreover it can be difficult to change the systems' behaviour in any significant way, since behaviour is distributed among many objects. Lots of interconnections make it less likely that an object can work without the support of others - the system acts as though it were monolithic. Though partitioning a system into many objects generally enhances reusability, proliferating interconnections tend to reduce it again.