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.

  • KoboldKomrade [he/him]@hexbear.net
    link
    fedilink
    English
    arrow-up
    21
    ·
    25 days ago

    Regular Expressions are pretty core to understanding further automata in the more math-y computer science. I sometimes have trouble making them, or fitting them to whatever weird scheme some program uses. But thats because I’m “ok” at programming and was just barely getting B/C’s in computer science classes.

    Just a massive self report of a post for that guy. Hell there’s even tools that actually work and (if you’re paying attention) will indirectly teach you to do it yourself. Just like a lot of things in programming. But nope, “AI”.

    • blame [they/them]@hexbear.net
      link
      fedilink
      English
      arrow-up
      5
      ·
      25 days ago

      i dont use regexs much because usually they’re overkill for what i need but when i do use them i tend to make them in one of those regex builder tools you mention, which is great, but then getting the regex that works in that tool working in my program is a battle against inscrutable local syntax and stuff silently failing.