I’m imagining as years go by when/if this AI regex code breaks - nobody knows how it works or how to fix it. Am I wrong?

I’m not a programmer and I write shitty code but I can manage to write simple regex to create quick and dirty code. That’s a terrible programming choice I know but I never share my code. It’s just for me and it works.

  • anarchrist@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    15
    ·
    3 days ago

    I’m the sicko doing regex find and replace in notepad++

    Looking forward to being able to start a consulting firm when my arcane knowledge is worth a premium

    • Speaker [e/em/eir]@hexbear.net
      link
      fedilink
      English
      arrow-up
      7
      ·
      3 days ago

      Should add treesitter to your toolbox. Never mind regex-replace when you can exploit the syntax of the actual programming language to do rich query-replace actions. 🌞

      • anarchrist@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        5
        ·
        3 days ago

        That’s neat! I mostly use regex for like columns of text data. I think most people use excel but I hates it. Nasty little microsofts