T
7

ChatGPT vs writing code from scratch for a simple regex filter

I used to spend 45 minutes wrestling with regex patterns for data cleanup on plumbing inventory sheets, but last week I just asked an AI to write it and got a working filter in 2 tries. Is relying on generated code making us worse at understanding the logic underneath, or is not having to learn every syntax detail a fair trade?
2 comments

Log in to join the discussion

Log In
2 Comments
olivia_anderson
Hate to break it to you but most of us were already awful at regex before AI showed up. Copying from Stack Overflow for 10 years didn't teach anyone the logic either. You get the same level of understanding from AI generated code as you do from pasting someone else's solution, which is basically just knowing it works and moving on. The real skill is being able to tell if the output is actually right for your specific data, not memorizing syntax patterns you'll forget by next Tuesday.
6
cooper.reese
cooper.reese1mo agoMost Upvoted
Is knowing if the output is right really any different from the skill of knowing when to trust Stack Overflow though? Because both still rely on you understanding enough of the underlying logic to spot when a pattern breaks on edge cases.
6