3 ms·
> I'd love examples where DRY can really hurt performance. A really common example is overhead of polymorphism, although that overhead can vary a lot between s
by eyelidlessness 2y ago
> I'd love examples where DRY can really hurt performance.
A really common example is overhead of polymorphism, although that overhead can vary a lot between stacks. Another is just the effect caused by the common complaint about premature abstraction: proliferation of options/special cases, which add overhead to every case even when they don’t apply.
- kitkat_new 2y agouse compile time polymorphism premature abstraction -> not understood dry (https://news.ycombinator.com/item?id=40525064#40525690 https://news.ycombinator.com/item?id=40525064#40525690)