this post was submitted on 27 May 2025
1976 points (99.5% liked)

Programmer Humor

23614 readers
512 users here now

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

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] sturger@sh.itjust.works 10 points 1 week ago (13 children)

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.

[–] bitwolf@sh.itjust.works 13 points 1 week ago (1 children)

For the most part "Rename symbol" in VSCode will work well. But it's limited by scope.

[–] sturger@sh.itjust.works 4 points 1 week ago

Yeah, I'm looking for something that would understand the operation (? insert correct term here) of the language well enough to rename intelligently.

load more comments (11 replies)