6 ms·
So interfaces > modelling ConsoleLogger is a Logger because they share a method (log), PaidUser and User can have some common things, but I don't think it's on
by green_dee 2y ago
So interfaces > modelling
ConsoleLogger is a Logger because they share a method (log),
PaidUser and User can have some common things, but I don't think it's only in the way it behaves, but also in the way you contact/use them