this post was submitted on 25 Jul 2024
911 points (99.6% liked)

Programmer Humor

19623 readers
1 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
 
all 27 comments
sorted by: hot top controversial new old
[–] mariusafa@lemmy.sdf.org 48 points 4 months ago (3 children)

I hate this kind of practice. It shows no empathy for the guy that will have to fix it.

[–] Restaldt@lemmy.world 63 points 4 months ago (3 children)

Sounds like the corporation should have paid the first guys more

[–] frezik@midwest.social 20 points 4 months ago

It's not just pay. Things like pensions that would encourage long tenures have been all but eliminated from compensation packages. The idea of staying at a job for more than 3 years, especially in IT, is crazy to people. If you're there for >5 years and then look for something else, interviewers wonder if something is wrong with you.

Which is insane. Companies lose a lot of value by not having long tenured "company [wo]men" anymore. I keep waiting for some convoluted explanation that shows this situation is better in even a strictly capitalist sense, but that explanation doesn't seem to exist. The best I have is that people coming from outside organizations will cross-pollinate ideas and technologies instead of being stuck with whatever that particular company is doing. But there are other ways to handle that, and you don't have to push it on everyone.

No, companies just seem to have decided this is how they're going to operate.

[–] mariusafa@lemmy.sdf.org 13 points 4 months ago (1 children)

He is making the job worse for his team not his corporation. That's not the way to deal with that.

[–] PoopingCough@lemmy.world 44 points 4 months ago

The sense of obligation towards your coworkers is something companies absolutely abuse and exploit. I'm not saying don't have empathy for your fellow human, but people aren't typically incentivized to use best possible solutions if they take more work outside of this obligation so you have to be careful to not let yourself be exploited because of it.

[–] OfficerBribe@lemm.ee 2 points 4 months ago

It's often either mentality or high workload. Higher pay will not help in these situations. There are bad corporations and also bad workers.

[–] cybersandwich@lemmy.world 16 points 4 months ago (1 children)

My thoughts on it are: as a developer, if you flag the issue for your management, and they want to move forward, then you've done your part.

Maybe put an extra comment in the code for posterity's sake.

It's not ultimately your problem and what else are you going to do? Work unpaid nights and weekends to fix it for some guy who might run into a problem 8 years from now?

[–] fuzzzerd@programming.dev 2 points 4 months ago

It's a balance, but too many people don't even flag it to management because they're lazy and they write shit and ship it to get it off their own plate.

Now, if management says ship it anyway it's a balance of you as a developer making sure they understand they're throwing this technical debt on the credit card and it may (probably) need to be paid off later. If you fail to articulate the interest that'll be due later then you didn't do enough or management is bad.

You shouldt work unpaid to fix it, but sometimes you should just do it right even if it takes longer because it's how it should be done.

[–] psud@aussie.zone 1 points 4 months ago

So comment it with //this function fails here if clientCount >20 000 000

[–] l_b_i@yiffit.net 41 points 4 months ago

the next dev, Hey this obscure feature probably doesn't work, should I fix it... No, I'll just patch "temporary-fix-don't-use" and let the next guy fix it properly.

[–] Sumocat@lemmy.world 41 points 4 months ago (1 children)

My uncle was in that story. Decades ago, he told his boss a program would stop working in eight years (8-bit limitation, yeah, that long ago). His boss told him to ship it because they weren’t going to be there in eight years. Sure enough, they weren’t. Eight years later, their IT guy contacted my uncle because he couldn’t figure out why it stopped working, and my uncle showed him the math.

[–] Ferrous@lemmy.ml 28 points 4 months ago (2 children)

Sounds like your uncle did end up working for the company again, if only for an hour or day.

[–] xmunk@sh.itjust.works 17 points 4 months ago (1 children)

Hopefully at a really high hourly rate!

[–] ByteJunk@lemmy.world 5 points 4 months ago* (last edited 4 months ago)

I'd do it just to style on the new guy, start with something like "ah, so humanity has lost the skills that we possessed in the days of yore..."

(TL note: this is in reference to companies refusing to up the pay for their skilled workforce, and ending up paying more to new guys that'll have to learn it all from scratch)

[–] Sumocat@lemmy.world 4 points 4 months ago

Nah. Everyone knew everyone back then, and my uncle loves sharing his stories. Basically all he did was tell that then-eight year old story, which still holds up.

[–] CanadaPlus@lemmy.sdf.org 22 points 4 months ago* (last edited 4 months ago) (3 children)

Maybe I'm a sentimental fool, but I feel like there should be some kind of basic respect for the craft, and doing things the right way just because. I get making bad code to meet a deadline, but not if you have a choice.

Then again, I've never done coding as my main job.

[–] fuzzzerd@programming.dev 4 points 4 months ago (1 children)

I have done it as my main job and I echo your sentiment. It's inevitable that sometimes you have to meet a deadline or get something more important working first, but if you write bad code because you are lazy or unwilling to read the docs to do it right, shame shame shame.

[–] mstrk@lemmy.world 6 points 4 months ago

Some people just don't care. To me it really feels like they are trying to create the problems to later sell the solution, and it's a never ending cycle. I've quit my recent job because 90% of the team just sucks, security risks everywhere, the API just doesn't respect contracts, there's no contract actually, we just ask on private chats how to integrate with it really. New features on top of buggy code while support is on fire with the 100th bug ticket reported in just a week. Not to mention that you have a design team, a project manager and a "VP of engineering" but the epics they want you to do are almost just the title of the idea they had at lunch 😅.

This guys are very lucky because the operation teams is able to cash in millions of revenue a year by combining excel, monday and WhatsApp to do their jobs, while a few are still forced to interact with a piece of shit of software that the engineer department provides to them...

Anyway, some people just don't care.

[–] psud@aussie.zone 3 points 4 months ago* (last edited 4 months ago)

We do. We make the best we can in the time we're given. People say "minimum viable product" but we never deliver that

[–] corsicanguppy@lemmy.ca 2 points 4 months ago* (last edited 4 months ago) (1 children)

Can confirm - you work like a dumber, more tired version of you needs to maintain it, so comment accordingly. Also, you do the work right but also fast; and you see how right you can do it in a reasonable timeframe of course.

But we fired a lot of our mentors after Y2K to save money that quarter. And the juniors there had no learning as to the whys of the whats when it comes to best practice. Those juniors became seniors and their juniors are 2nd-gen flying blind. We're doing dumb things because we know why we shouldn't, but we don't understand that we shouldn't. (Hint: if someone says "Yeah But," they may not get it)

We need to rediscover the whys we lost; and it's gonna be hard to really understand it, but we'll figure it out. A few more ClownStrikes and we wont have a choice!

[–] Revan343@lemmy.ca 1 points 4 months ago

Yeah but, move fast and break things is management's motto, they don't want to pay for the time it will take to write good code

[–] Prandom_returns@lemm.ee 22 points 4 months ago

In capitalism, creating problems keeps people employed.

If your shit's maintained and running perfectly, it looks as if you're not doing anything.

[–] Rolando@lemmy.world 3 points 4 months ago

“upper management written all over him.” - one of the Bobs

[–] cjk@discuss.tchncs.de 1 points 4 months ago (1 children)

And here I am, working for the same company for over two decades 🤷