this post was submitted on 02 Aug 2024
622 points (97.8% liked)

Programmer Humor

19453 readers
69 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 43 comments
sorted by: hot top controversial new old
[–] [email protected] 184 points 3 months ago (2 children)

Returning and finding everything done is equally suspicious. That's when you have to take a closer look and discover what spaghetti made it through peer review.

[–] [email protected] 66 points 3 months ago (2 children)

Or worse, it means you're not as good as you thought you were.

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

It's not so bad being the worst player on the team. Just means you have a lot of room for improvement as long as you're willing to learn. Honestly it's one of my favorite situations to find myself in. "Oh I suck. How can I get better?"

[–] cheddar 28 points 3 months ago (2 children)

Sounds good unless you really suck and there is no way for you to improve. I might or might not be speaking from experience.

[–] [email protected] 11 points 3 months ago

I’m having that same imposter syndrome feeling right now. But one of the SMEs at work today randomly complained to me about another agent and his lack of caring/learning and thanked me for how I am. So. Sometimes it works out well as long as you’ll listen and learn. You can always learn more it just takes time.

[–] sukhmel 4 points 3 months ago

In most crafts, and I consider software development one, there's rarely no way to improve. The problem arises if the client or the employer wants you to improve too quick, faster than you could, and sometimes faster than even possible.

But to be fair, sometimes developer doesn't want to improve either

[–] [email protected] 3 points 3 months ago

Imposter Syndrome, I choose you!!

[–] [email protected] 33 points 3 months ago (2 children)

Also, all the automated tests were commented out.

[–] [email protected] 26 points 3 months ago

Checking the ci logs for the past week, like:

86 test suites passed successfully
    ❌ 0 failures
    ✅ 0 success
    🤷‍♂️ 1785 skipped
[–] [email protected] 21 points 3 months ago (1 children)

Ive heard of stories where people would have an imposed test coverage percentage requirement... and they would just have a single dummy method that printed "." to the console thousands of times. They then have a single test for that one method, and whenever their codebase grows to big, they add more lines to it so that the dummy method has enough lines to meet the test coverage requirement.

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

Percentage of lines covered by tests is such a terrible metric.

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

All metrics are terrible when used for anything other than objective analysis

[–] sukhmel 2 points 3 months ago (1 children)

Yeah, every metric that can be applied automatically ends up becoming useless if people are incentivized to break it

[–] [email protected] 9 points 3 months ago (1 children)
[–] sukhmel 1 points 3 months ago

There's always one. Thanks for finding it ❤️

[–] [email protected] 83 points 3 months ago (5 children)

Fucking. The word is FUCKing. Fucking.

[–] [email protected] 33 points 3 months ago (2 children)

You can't swear on the internet

[–] [email protected] 27 points 3 months ago

FUCK, I forgot.

[–] [email protected] 16 points 3 months ago

The hell I can't.

[–] [email protected] 16 points 3 months ago

This post right here officer, look at this man saying such illegal words on the internet!

[–] [email protected] 16 points 3 months ago
[–] [email protected] 2 points 3 months ago

Friday night Fkn

[–] [email protected] 2 points 3 months ago

It just irritates the fuck out of me when people write an obvious swear word but either omit letters or "censor" them with eg. *, like that somehow makes it not swearing even though EVERYBODY KNOWS WHAT THAT FUCKING WORD IS.

Either don't swear if you think it's so bad, or just write the naughty words out instead of pretending "f*ck" isn't a bad evil naughty word because you hid one letter like a fucking mentally deficient child.

FUCK.

[–] [email protected] 55 points 3 months ago* (last edited 3 months ago)

I once had to go on a longer medical leave, couple of months. In preparation, I documented everything - pages upon pages answering all questions in easily searchable formats. For more than a month, any questions I got were answered with links to specific sections in the documentation, so people would know where to find everything. I put the links everywhere, in total there were at least 200 links to various sections of the documentation throughout all our communication mediums, as well as all information repositories.

After I came back from leave, most of the things I was responsible for were turned off. When I asked why, the response was "we didn't find your documentation".

I no longer care whether things keep working.

[–] [email protected] 40 points 3 months ago* (last edited 3 months ago) (1 children)

Generally when you go on holiday and do a detailed handover to another dev, you find the team spent the week fighting some crazy fire in prod or sudden shift in priorities from up the chain. Don’t think I’ve ever had them actually complete my work.

[–] [email protected] 39 points 3 months ago

If you have to explain every fucking thing, it's good nothing happened

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

How you gonna take 3 weeks vacation when an iteration is 2?! And how you gonna expect any dev to do anything without a daily stand up???? You need to be more AGILE dude

[–] sukhmel 9 points 3 months ago

To be fair, if there's two people in the team and one of them is a junior, I would've expected nothing to be done at all, especially if it's as long as three weeks

I think, I would've left the junior some language or design research, and some questions to ponder about in the meantime, if I were in this situation

[–] [email protected] 20 points 3 months ago (2 children)

Didn’t expected a "Great Teacher Onizuka" meme after all these years but yeah!

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

Glad to meet a fellow GTO fan

[–] [email protected] 3 points 3 months ago

A rare sight indeed! A lot of people use this template without knowing where it's from.

[–] [email protected] 8 points 3 months ago

GTO was/is great.

[–] [email protected] 14 points 3 months ago (2 children)

The question is, was nothing done because they're incompetent or because they don't care about the job and were able to do nothing with a "good" excuse

[–] [email protected] 10 points 3 months ago (2 children)

Or because you forgot one very crucial part?

I had that happen to me as a junior. The other seniors weren't even able to help, so in the end nothing was done. IIRC it was an old python app which the OG author explained the nonsense logic of, but not how to actually run it, or vice versa. Either who the whole project was fucked up

[–] [email protected] 3 points 3 months ago

Of course, the assumption was that the senior was actually competent and non-malicious, which may of course be false.

[–] [email protected] 2 points 3 months ago

I have a similar story. I started a new job and inherited a ball of mud written in Python while the creator was out for a few weeks. When he got back, he was grumpy about my changes. I guess he preferred it with more bugs 🤷‍♂️

[–] [email protected] 1 points 3 months ago
[–] [email protected] 12 points 3 months ago

You kids today. In my day we used Visual Source Safe and would accidentally leave a critical file checked out when we went on vacation and nobody else could get anything done until we came back.

[–] [email protected] 7 points 3 months ago* (last edited 3 months ago)

This is the result of so called tribal knowledge in software development. It's even worse when the senior citizen who understands everything retires, goes senile, or dies.

[–] [email protected] 5 points 3 months ago

Maybe, part of your job is to not touch anything in a random day and observe what happens when something breaks. That way, you can document what's not being fixed so that your team is more prepared when you're actually not there.

[–] [email protected] 3 points 2 months ago

Sometimes I am happy about the increase in AI assisted coding specifically so junior devs won't get as stuck without outside help. Very frustrating when they don't reach out when they struggle, but at least they can privately copypaste into ChatGPT and get ideas. But, still requires a fine toothed comb when you're doing the review to know if any toilet tier material sprayed out.