by non-entity · 6y ago · 0 comments
Favorite “COM-ism”: IClassFactory, the basic interface to a class. Why not call it IClass? Or IFactory since a class is essentially a Factory pattern? IClassFactory makes it sound like a Factory for Classes, not objects.
With an interface like AddRef/Release, they all but guarantee memory leaks.
Developers that know what they are doing would use a C++ library with support for COM smart pointers, .NET or Delphi.