you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 1 year ago (1 child)

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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 1 year ago

    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).

  • source
  • parent