Delphi class references... aka metaclasses... when to use them.
I've read the official documentation and I understand what class references are but I fail to see when and why they are best solution compared to alternatives. The example cited in the documentation is TCollection which can be instantiated with any descendant of TCollectionItem. The justification for using a class reference is that it a...