That makes sense. I’ve certainly been guilty of excessively DRYing my code. On one hand, it’s a fun little puzzle to work on. On the other hand, it’s been making it very hard to quickly iterate, and that’s especially bad for research code.
It only nakes sense to apply DRY principles when you find you keep having to copy paste the same code to muliple locations on your codebase, and its reasonably clear it will never diverge from eachother. In other words, apply as needed to maintain development velocity (and in turn stability).
That makes sense. I’ve certainly been guilty of excessively DRYing my code. On one hand, it’s a fun little puzzle to work on. On the other hand, it’s been making it very hard to quickly iterate, and that’s especially bad for research code.
It only nakes sense to apply DRY principles when you find you keep having to copy paste the same code to muliple locations on your codebase, and its reasonably clear it will never diverge from eachother. In other words, apply as needed to maintain development velocity (and in turn stability).