title: "Inherit not, contain" or "inherit, not contain"
body: <p>I have an application which spawns a lot of child objects and each of them works with some global application objects e.g. registers itself in the global application registry, updates application statistics etc.</p>
  
  <p>How should application transfer the ability to access those global objects to the children? Should every child inherit from static CRegistry and CStatistics or should application pass Registry and Statistics to child at the moment of creation?</p>
  
  <p>Thanks.</p>