• tyler
    link
    fedilink
    arrow-up
    2
    ·
    3 hours ago

    That means it’s not easy to delete. So your initial premise is wrong.

    • Lysergid@lemmy.ml
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      edit-2
      2 hours ago

      No, that means you falling into author’s bait where they misuse term “delete”. Refactoring is not equal to deleting. One can be result of another. But the truth is that extendable code needs to be modular to be extendable. And modular code is easy to refactor. Author couldn’t not name it “Write code that is easy to refactor, not easy to extend” coz it’s even more dumb