• CameronDev@programming.dev
    link
    fedilink
    arrow-up
    13
    ·
    2 days ago

    Use a good IDE, and readding the imports is pretty easy.

    I find commented code to be a bit of a smell on its own, just delete it, and if you really need it again, dig it out of source control.

    • jjjalljs@ttrpg.network
      link
      fedilink
      arrow-up
      10
      ·
      2 days ago

      Yeah. My last job, a PR with commented out code typically wouldn’t get approved. Either leave it in version history, or stick it on a branch