I am creating a video player widget. You can embed as many players on your website as you want.
I have a singleton that is generating and monitoring all these video player objects on your site. Is it considered bad practice if one of these video player objects calls one of the singleton’s methods? I always thought it was wrong for a parent object to create a child object and then have that child object call the parent’s method…