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

Programmer Humor

23829 readers
2774 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
(page 2) 50 comments
sorted by: hot top controversial new old
[–] DrunkAnRoot@sh.itjust.works 13 points 1 week ago

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

[–] sturger@sh.itjust.works 12 points 1 week ago (9 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.

load more comments (1 replies)
[–] lapping6596@lemmy.world 11 points 1 week ago (2 children)

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"

load more comments (2 replies)
[–] derpgon@programming.dev 10 points 1 week ago

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.

[–] Irelephant@lemm.ee 6 points 1 week ago (1 children)
load more comments (1 replies)
load more comments (5 replies)
[–] TheGiantKorean@lemmy.world 11 points 1 week ago

Did it try to blackmail him if he didn't use the new code?

Context

[–] ikidd@lemmy.world 9 points 1 week ago* (last edited 1 week ago) (1 children)
[–] antihumanitarian@lemmy.world 8 points 1 week ago (1 children)

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.

load more comments (1 replies)
[–] Owlboi@lemm.ee 7 points 1 week ago (6 children)

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

[–] moseschrute@lemmy.world 12 points 1 week ago* (last edited 1 week ago)

Hot take, today’s AI videos are cursed. Bring back will smith spaghetti. Those were the good old days

load more comments (5 replies)
load more comments
view more: ‹ prev next ›