Refactoring gets really bad reviews, but from where I’m sitting as a hobby programmer in relative ignorance it seems like it should be easier, because you could potentially reuse a lot of code. Can someone break it down for me?

I’m thinking of a situation where the code is ugly but still legible here. I completely understand that actual reverse engineering is harder than coding on a blank slate.

  • CanadaPlus@lemmy.sdf.orgOP
    link
    fedilink
    arrow-up
    2
    ·
    9 hours ago

    How would you define “supportable”?

    Most Devs hate working on other people’s code though, so prefer rewrites.

    I now suspect this is basically where it’s coming from.

    • Nighed@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 hours ago

      If your app uses silver light, VB6 or something like that where modern OSs, browsers etc just don’t support it and there is no upgrade path.

      It could also be written in a language that is supported, but you just can’t hire Devs for.