this post was submitted on 20 May 2024
1504 points (97.7% liked)

Programmer Humor

19623 readers
4 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] hsdkfr734r@feddit.nl 89 points 6 months ago (2 children)

Let the patch be part of the code for one or two minor releases. Then revert the changes of the patch.

[–] victorz@lemmy.world 35 points 6 months ago (3 children)

Why would they do that? Talk about generating mistrust.

[–] henfredemars@infosec.pub 29 points 6 months ago (1 children)

It may not be malice. Incompetence.

[–] jaybone@lemmy.world 5 points 6 months ago (1 children)

They are going to “accidentally” remove a fix?

[–] henfredemars@infosec.pub 16 points 6 months ago (1 children)

By not understanding how version control works. I've worked at places that had a surprising number of developers who would just merge things in ways that drop code from other developers.

[–] siipale@sopuli.xyz 1 points 6 months ago (2 children)

Can you give an example how that would happen?

[–] henfredemars@infosec.pub 9 points 6 months ago (1 children)

It’s pretty straightforward. Merge conflicts? No such thing! Just make my version the next version.

[–] dejected_warp_core@lemmy.world 2 points 6 months ago (1 children)

Also that's likely a team that doesn't use a branching workflow, has poor review on merges, and/or using Git like it's SVN.

[–] henfredemars@infosec.pub 2 points 6 months ago (1 children)

How optimistic. At my last workplace I got us to finally stop using zip files for version control. This was at a fortune 500 company.

The utility of software is so great that even terrible processes are still functional to some degree.

[–] dejected_warp_core@lemmy.world 2 points 6 months ago (1 children)

A times B times C equals X. If X is more than the cost of a failure or security breach, we don't fix the software.

Are there a lot of these kinds of problems?

You wouldn't believe.

Which Fortune 500 company do you work for?

A major one.

[–] henfredemars@infosec.pub 2 points 6 months ago (1 children)

I now work for a small business but in the interest of not getting bitten in the ass I don’t wish to give the name of my previous employer. It was a large defense contractor, but our values didn’t align so I moved on when I found another opportunity to put food on the table. I know that’s not a satisfying answer but I’m here for entertainment value and the opportunity cost might not be worth it. My main point was that even though they have the money they didn’t see the value in good software process.

All the time! We would leave bugs unfixed even if the fix was trivially easy because management felt productive listing it as a cost savings. Software maintenance was seen as a necessary evil.

[–] dejected_warp_core@lemmy.world 2 points 6 months ago

Software maintenance was seen as a necessary evil.

The most important lesson I learned about the economics of software is that sourcecode is always accounted as a liability and not an asset. Accountants will never let you code your way into more value. Everything else you see stems from that truth.

[–] entropicdrift@lemmy.sdf.org 1 points 6 months ago

Force push to the master branch or release branch, for one

[–] mryessir@lemmy.sdf.org 1 points 6 months ago (1 children)
[–] victorz@lemmy.world 1 points 6 months ago (1 children)

Good luck with that lol. Who would fall for that.

[–] mryessir@lemmy.sdf.org 1 points 6 months ago

Corporate rated this strategy viable

[–] Sidhean@lemmy.world 0 points 6 months ago

I dunno, but it'd be funny

[–] Dampyr@lemmy.world 20 points 6 months ago

Calm down, Satan