• howrar@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    25 days ago

    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.

    • chilicheeselies@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      25 days 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).