by Levitz · 4mo ago · 0 comments
My largest concern comes from something tangential to this: I'm not sure we're all that good at deciding what should be learned and sticking to it.
Silly example: regex. LLMs are, as far as I know, well above the average dev when it comes to writing regex. Regex is also one of those things that for many people goes unused for months, but then you encounter the occasional perfect regex problem, and it's really easy to just lean on the LLM to write the regex for you rather than spending some time tinkering and testing. Regex can be frustrating and fickle, I think we've all been there.
But then, you just don't learn regex. So where does the intuition for what regex can do come from? Do you just become unable to write regex with no LLM? People stop writing resources for regex I guess?
My concern is that there's stuff I feel I can just chuck onto the LLM but I'm sure my judgement is not perfect. It's still probably worth it, all in all, but I'm not even sure of what I might be losing along the way and that's an uneasy feel.
I am very glad that I can now just ask claude for a regex to achieve my intent.
Does it mean I'll never master regex? Yes it does, but decades has shown that was unlikely to ever happen anyway.
I’m wondering if by the time you have been explicit enough in your prompt you might as well have looked up what you needed.
The expression is always terse so it’s not as if you are saving much typing.
Sometimes the patterns are dirt-simple, like `/\bfoo/` to find things that start with foo, or a `/foo.?bar/i` to try to find multiple variations of FooBar and fooBar and foo-bar and FOO_BAR. Other contexts outside an IDE include browser dev-tools, exploratory SQL queries on the database, searching centralized logs, and occasionally turning lines of text into spreadsheets via CSV.
None of that guarantees deep expertise of the weirder tricks, but it absolutely keeps the general knowledge "warm."
Things like regex and CSS are not that hard if you take some time to study them. People don't though. Now I don't have that advantage anymore since AI can do them so well. Or... Maybe that could be an advantage since there will be even less people learning it.
If you don't know how to regex and you let your imaginary LLM friend write one for you, and you foist that upon your colleagues for review, you've just abused their trust. Because they, being ethical, honest engineers, must now do all the work you neglected except they're doing it at review time instead of at the time of writing.
Or maybe they're dishonest and unethical and they'll just maliciously or negligently approve the PR without actually reviewing the regex.
Either way the situation is completely rotten. You can never ethically use an LLM to do something you're not competent to do yourself.
What does the business benefit from you handwriting regex vs a clanker?
Immersion with the codebase is not about coding and syntax (which is actually very easy for me). It’s about being able to intuit that a particular combination can result in a buggy state and provides the wrong result downstream. You lose that you stay in the dreamland of specs.