MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xq77a7/itwasjustonevariable/19sdlsaqoyqlf/
r/ProgrammerHumor • u/Excellent-Baker1058 • 19d ago
57 comments sorted by
View all comments
Show parent comment
2
I'd rather have the LLM take over these chores while I spend my time on stuff that should be done by humans (or grab a coffee)
1 u/Weekly-Beginning-229 17d ago Press F2 type the new name of the variable, press enter.Or wait 1-2 minute for the LLM to fix it while you let your brain detoriate 1 u/Roadrunner571 17d ago Press F2 type the new name of the variable, press enter.And then spend half an hour debugging why it's not working, e.g. that specific variable name mapped to a database field in a third party system. LLMs do catch these kind of issues. 3 u/Weekly-Beginning-229 17d ago Well if your local variable affects other systems then i think something else is wrong 1 u/Roadrunner571 16d ago In a large codebase that grew over decades and got code from many company mergers, there might be a few surprises.I've seen some crazy stuff.But even with good code, renaming can break something. Imagine a part of an SDK that can break if you rename a function that third-party code calls.
1
Press F2 type the new name of the variable, press enter.
Or wait 1-2 minute for the LLM to fix it while you let your brain detoriate
1 u/Roadrunner571 17d ago Press F2 type the new name of the variable, press enter.And then spend half an hour debugging why it's not working, e.g. that specific variable name mapped to a database field in a third party system. LLMs do catch these kind of issues. 3 u/Weekly-Beginning-229 17d ago Well if your local variable affects other systems then i think something else is wrong 1 u/Roadrunner571 16d ago In a large codebase that grew over decades and got code from many company mergers, there might be a few surprises.I've seen some crazy stuff.But even with good code, renaming can break something. Imagine a part of an SDK that can break if you rename a function that third-party code calls.
And then spend half an hour debugging why it's not working, e.g. that specific variable name mapped to a database field in a third party system. LLMs do catch these kind of issues.
3 u/Weekly-Beginning-229 17d ago Well if your local variable affects other systems then i think something else is wrong 1 u/Roadrunner571 16d ago In a large codebase that grew over decades and got code from many company mergers, there might be a few surprises.I've seen some crazy stuff.But even with good code, renaming can break something. Imagine a part of an SDK that can break if you rename a function that third-party code calls.
3
Well if your local variable affects other systems then i think something else is wrong
1 u/Roadrunner571 16d ago In a large codebase that grew over decades and got code from many company mergers, there might be a few surprises.I've seen some crazy stuff.But even with good code, renaming can break something. Imagine a part of an SDK that can break if you rename a function that third-party code calls.
In a large codebase that grew over decades and got code from many company mergers, there might be a few surprises.
I've seen some crazy stuff.
But even with good code, renaming can break something. Imagine a part of an SDK that can break if you rename a function that third-party code calls.
View all comments
Show parent comment
2
u/Roadrunner571 17d ago
I'd rather have the LLM take over these chores while I spend my time on stuff that should be done by humans (or grab a coffee)