• over_clox@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    7 days ago

    This is basically code refactoring on a simplified level. You’re basically renaming a whole bunch of functions/tokens at once.

    Let’s say you’re renaming the variable ‘count’ under the method ‘buttplug’. First off, what do you rename it to?

    You start by replacing every instance of buttplug.count with a unique token, let’s say tnuoc.gulpttub.

    Then you replace that buttplug with a unique buttplug.

    Simple.

    • Trail@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      6 days ago

      Then you replace that buttplug with a unique buttplug.

      Rare buttplugs with good affixes are better than unique buttplugs.