• Lysergid
    link
    fedilink
    arrow-up
    12
    ·
    8 hours ago

    TLDR;

    My current project has mostly easy to delete code and not easy to extend. Why? Coz shit was copy-pasted 50 times. It’s not fun to work in this project.

    • Kache@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      2 hours ago

      I don’t understand, if you’ve got easy to delete copy-pasted code, then delete it. It’ll be a nice and cathartic exercise.

      But sounds like what you’re really talking about is code that isn’t easy to delete.

    • yournameplease@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 hours ago

      Same thing on my project. Thousands of lines across a few dozen files copied 100+ times. At that point there’s almost no going back with everything diverging so long ago.