cant wait to see "we use AI agents to generate well structured non-functioning code" with off centered everything and non working embeds on the website
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
Honest question: I haven't used AI much. Are there any AIs or IDEs that can reliably rename a variable across all instances in a medium sized Python project? I don't mean easy stuff that an editor can do (e.g. rename QQQ in all instances and get lucky that there are no conflicts). I mean be able to differentiate between local and/or library variables so it doesn't change them, only the correct versions.
For the most part "Rename symbol" in VSCode will work well. But it's limited by scope.
I use pycharm for this and in general it does a great job. At work we've got some massive repos and it'll handle it fine.
The "find" tab shows where it'll make changes and you can click "don't change anything in this directory"
IntelliJ IDEA, if it knows it is the same variable, it will rename it. Usually works in a non fucked up codebase that uses eval
or some obscure constructs like saving a variable name into a variable as a string and dynamically invoking it.
On Error Resume Next
I've used it extensively, almost $100 in credits, and generally it could one shot everything I threw at it. However: I gave it architectural instructions and told it to use test driven development and what test suite to use. Without the tests yeah it wouldn't work, and a decent amount of the time is cleaning up mistakes the tests caught. The same can be said for humans, though.
well, it only took 2 years to go from the cursed will smith eating spaghetti video to veo3 which can make completely lifelike videos with audio. so who knows what the future holds
Hot take, today’s AI videos are cursed. Bring back will smith spaghetti. Those were the good old days