Delphi memory management design strategies : Object or Interface ?
- by Pierre-Jean Coudert
Regarding Delphi memory management, what are your design strategies ?
What are the use cases where you prefer to create and release Objects manually ?
What are the uses cases where Interfaces, InterfacedObjects, and their reference counting mechanism will be prefered ?
Do you have identified some traps or difficulties with reference counted objects ?
Thanks for sharing your experience here.