• x4740N@lemm.ee
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 days ago

    Lazy devs not removing old non functional commented code and background code additions ?

    Though I do get it if they don’t want to remove the old code if their employer is an asshole

    • SketchySeaBeast@lemmy.ca
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 days ago

      That’s not why. It’s the dependency trees that run a dozen layers deep and end up importing “isEven”. If you’re building a react app odds are good you’ll import way more code than you ever write yourself.

      And no one should be leaving commented-out code in their app, that’s what source control is for.