Re:cat mario.nes | nc play-nes.org 4444
by __forward__ on Monday March 13, 2023 @06:32AM
(#35133723)
To be fair they may actually know there stuff but from a didactic point-of-view it is very difficult introduce a `FactoryProvider` (or to a lesser extent even an `HTTPClient`) alongside basic OOP concepts.
[ Parent
| on HN ]
Use real useful code example
Have Logger with StdoutLogger as basic example of it
Then FileLogger that extends it with few functions related to files
Then DBLogger with few functions related to logging to database
Then TestLogger for integrating with test framework