this post was submitted on 18 Dec 2024
222 points (98.3% liked)

Programmer Humor

19821 readers
2 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
[–] gravitas_deficiency@sh.itjust.works 37 points 1 week ago* (last edited 1 week ago) (2 children)

You know what? If your management is telling you to use AI generated code to “go faster”, just go ahead and do it. But fork the repo first, in case you’re still around when they get fired and someone sensible says to put it back how it was before.

[–] magikmw@lemm.ee 6 points 1 week ago (1 children)

Git revert --hard no need to copy anything

[–] gravitas_deficiency@sh.itjust.works 5 points 1 week ago* (last edited 1 week ago) (1 children)
git push --force

I know I can do --force-with-lease. I meant what I typed.

[–] Gork@lemm.ee 5 points 1 week ago (1 children)

If violence isn’t working, you’re not using enough violence

[–] minzastro@programming.dev 4 points 1 week ago (1 children)

The problem is - you are far more likely to get fired when things go wrong :(

Well, if you just swap your CI to point af the fork, and then port over the non-ML delta of business logic, then you’re a fuckin hero and can write your own check, so long as you play it right. Depending on the company. And the leadership. And where you live. And how much of the kool-aid you drink. And-

But I digress. I do think it’d be quite possible to wrangle a promo out of a situation like that if you play it right.