• @ulkesh@beehaw.org
    link
    fedilink
    English
    91 year ago

    That “just changing a word” is easy and quick. A codebase is an iceberg. Management only really typically understands the surface, but there is a disproportionate amount of ice under the water.

    I had to change all instances of a label from a word to an abbreviation. Because we don’t have i18n set up in the app, it ended up affecting 55 different files. I did my best to consolidate into everything calling a common function, but it’s far from perfect. 55 files changed because management said “oh this word here should be shorter”.

    • anti-idpol action
      link
      fedilink
      1
      edit-2
      1 year ago

      piping find to sed with some possible tr, awk or perl sprinkle is your friend*

      * not discounting the risk of ending up wasting more time than planned trying to get one complex regex right

      • @ulkesh@beehaw.org
        link
        fedilink
        English
        11 year ago

        Oh I used some interesting IDE-based searching. QA closed the ticket so apparently I got them all! Haha.