this post was submitted on 18 Dec 2024
231 points (97.5% liked)

Programmer Humor

19809 readers
1122 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
[–] [email protected] 38 points 1 day ago* (last edited 1 day 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.

[–] [email protected] 12 points 1 day ago (1 children)

Git revert --hard no need to copy anything

[–] [email protected] 3 points 1 day ago* (last edited 3 hours ago) (1 children)
git push --force

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

[–] [email protected] 3 points 11 hours ago (1 children)
[–] [email protected] 3 points 9 hours ago

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

[–] [email protected] 3 points 1 day ago (1 children)

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

[–] [email protected] 1 points 2 hours ago

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.