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

Programmer Humor

23554 readers
2585 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
[–] [email protected] 43 points 3 days ago (24 children)

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

[–] [email protected] 39 points 3 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)
[–] [email protected] 20 points 3 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)
[–] [email protected] 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)
[–] [email protected] 21 points 3 days ago (2 children)

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

load more comments (2 replies)
[–] [email protected] 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.

[–] [email protected] 23 points 3 days ago

Not reliably, no. Python is too dynamic to do that kind of thing without solving general program equivalence which is undecidable.

Use a static language, problem solved.

[–] derpgon 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.

[–] [email protected] 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)
[–] [email protected] 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 (6 replies)
[–] [email protected] 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

[–] [email protected] 11 points 3 days ago

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

Context

load more comments
view more: ‹ prev next ›