2 ms·
> interfaces, traits, etc. Those are actually mechanisms for achieving polymorphism. Inheritence inherently (heh) consists of "inheriting" parent class' inter
by bheadmaster 9mo ago
> interfaces, traits, etc.
Those are actually mechanisms for achieving polymorphism.
Inheritence inherently (heh) consists of "inheriting" parent class' internals and having ability to extend them. It is basically composition, polymorphism and monkeypatching in a trench coat.