3 ms·
You wrap whole 3rd party dependency in an adapter.
by wiseowise 10mo ago
You wrap whole 3rd party dependency in an adapter.
- akoboldfrying 10mo agoThat's a lot of upfront work and maintenance, not to mention the friction of needing to mentally translate every occurrence of OurFooAdapter to Foo in order to find documentation.
- wiseowise 10mo agoYeah, well, good code takes some thought to produce. More news at 11.
- deepsun 10mo agoThe second argument still holds -- all those wrappers will exist in prod only for tests. Moreover, that wrapper library is now a pretty large piece of code, and we'd want to maintain and test as well. But cannot without hacks.