27 minutes ago, swiftcoder said:In practice, if you make your entity class be a pure data container,
Really it perfect serve anywhere where parent component behavior independend from childs and childs behavior independed from siblings. For example for form and controls placed on it. But when dependencies exists it required at lest to make a weak references betwin depended siblings. In case of dependencies of parent behavior it also require usage of delegates and/or mixing container scheme with inheritance scheme to avoid huge access penalties. It makes manual serialization/deserialization so big problem, so developers of desktop frameworks that use component based scheme has added a RTTI generation to C++ compilers that thay produce too at middle of 90-th. Developers that is no compiler producers uses additional preprocesors/transpillers for it purposes. Also i guess Microsoft has never make *.tlb files for his COM technology manually.