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

Programmer Humor

23545 readers
2288 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
[–] ItsMeForRealNow@lemmy.world 43 points 4 days ago (24 children)

This has beeny experience as well. It keeps emphasizing "beauty" and keeps missing "correctness"

[–] match@pawb.social 39 points 4 days ago (1 children)

llms are systems that output human-readable natural language answers, not true answers

load more comments (1 replies)
load more comments (23 replies)
[–] markstos@lemmy.world 21 points 4 days ago (6 children)

This weekend I successfully used Claude to add three features in a Rust utility I had wanted for a couple years. I had opened issue requests, but no else volunteered. I had tried learning Rust, Wayland and GTK to do it myself, but the docs at the time weren’t great and the learning curve was steep. But Claude figured it all out pretty quick.

load more comments (6 replies)
[–] TheReturnOfPEB@reddthat.com 17 points 3 days ago* (last edited 3 days ago) (1 children)

I'm pretty sure that is how we got CORBA

now just make it construct UML models and then abandon this and move onto version 2

load more comments (1 replies)
[–] dumnezero@piefed.social 21 points 4 days ago (2 children)

Try to get one of these LLMs to update a package.json.

load more comments (2 replies)
[–] sturger@sh.itjust.works 12 points 3 days ago (10 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.

[–] derpgon@programming.dev 10 points 3 days 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.

[–] bitwolf@sh.itjust.works 13 points 3 days 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 3 days 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)
load more comments (7 replies)
[–] DrunkAnRoot@sh.itjust.works 13 points 3 days 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

load more comments
view more: ‹ prev next ›