Re:Stepping down as Mockito maintainer after 10 years
by wiseowise on Sunday December 28, 2025 @06:01PM
(#46415398)
You wrap whole 3rd party dependency in an adapter.
[ Parent
| on HN ]
Re:Stepping down as Mockito maintainer after 10 years
by akoboldfrying on Sunday December 28, 2025 @10:25PM
(#46417164)
That'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.
Re:Stepping down as Mockito maintainer after 10 years
by wiseowise on Monday December 29, 2025 @03:27AM
(#46418587)
Yeah, well, good code takes some thought to produce. More news at 11.
Re:Stepping down as Mockito maintainer after 10 years
by deepsun on Monday December 29, 2025 @05:28PM
(#46426592)
The 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.