2 ms·
Duplication is a superpower if you can put your OCD into a box for a little bit and frame it as a temporary stepping stone. Refactoring nightmare codebases can
by bob1029 3y ago
Duplication is a superpower if you can put your OCD into a box for a little bit and frame it as a temporary stepping stone.
Refactoring nightmare codebases can become trivial if you don't mind a few copies of "the same thing" being kept around to satisfy serializers and other legacy APIs. Writing mappers between nearly-equivalent types sucks really hard but it still sucks a lot less than saying things like "lets just rewrite the whole product".