Many people apply DRY (Don't Repeat Yourself) dogmatically to avoid code duplication, but there's a real tradeoff to unifying multiple codepaths that have some shared logic but aren't fundamentally doing the same thing. Often better to repeat yourself 5 times; only then abstract.

Apr 20, 2022 · 11:02 PM UTC

21
26
10
332
Replying to @gdb
Yes... Compression Oriented Programming! caseymuratori.com/blog_0015