Anthony
08/26/2021, 7:49 PMApp development SHOULD prefer simpler concrete types until the abstraction provided by an interface proves necessary. When it does, adding a factory function for a default implementation as outlined above is a source-compatible change that does not require refactoring of usage sites.
mean exactly? Should we not hoist our state with an interface and an implementation like so?Anthony
08/26/2021, 7:49 PMAlexandre Elias [G]
08/26/2021, 8:59 PMAnthony
08/26/2021, 10:36 PM