Comment Comment by dvdcxn What's weird about it? In practice it just means writing classes which instead of newing things inside the constructor, allows them to be passed in by the caller.This is a pretty fundamental aspect of polymorphism and composition. parent dvdcxn 7 years ago
This is a pretty fundamental aspect of polymorphism and composition.