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

Programmer Humor

19821 readers
1098 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] 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.

[–] [email protected] 4 points 6 days ago (1 children)

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

[–] [email protected] 1 points 5 days 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.

[–] [email protected] 6 points 1 week ago (1 children)

Git revert --hard no need to copy anything

[–] [email protected] 5 points 6 days ago* (last edited 5 days ago) (1 children)
git push --force

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

[–] [email protected] 5 points 6 days ago (1 children)
[–] [email protected] 6 points 6 days ago

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