this post was submitted on 24 Feb 2024
1508 points (99.2% liked)

Programmer Humor

19623 readers
2719 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
[–] treechicken@lemmy.world 48 points 9 months ago (1 children)

inb4 senior delegates critical decision-making to juniors and only shows up once stuff is on fire

[–] tsonfeir@lemm.ee 19 points 9 months ago (2 children)

It’s funny you say this, because my junior is complaining that I micromanage too much. I prefer to make the critical decisions. Whenever I don’t make them, I end up putting out fires.

I tell them that and they respond, how am I supposed to learn if I can’t make mistakes?

Then I remind them they can fuck up all they want in the dev env.

[–] Knock_Knock_Lemmy_In@lemmy.world 1 points 9 months ago (1 children)

Why are you making critical decisions in a prod environment?

[–] tsonfeir@lemm.ee 4 points 9 months ago (1 children)

For the production environment, not in it.

[–] Knock_Knock_Lemmy_In@lemmy.world 1 points 9 months ago (1 children)

Shouldn't every decision be tested in dev first?

[–] tsonfeir@lemm.ee 1 points 9 months ago (1 children)

Yes. I think you may have misunderstood my meaning. Unless you’re just being pedantic—which I have no interest in.

[–] Knock_Knock_Lemmy_In@lemmy.world 1 points 9 months ago (1 children)

Probably my misunderstanding. The way it is written it sounds like juniors use the dev env and seniors get their decisions implemented directly in prod.

[–] tsonfeir@lemm.ee 1 points 9 months ago (1 children)

What are “decisions” to you?

[–] Knock_Knock_Lemmy_In@lemmy.world 1 points 9 months ago* (last edited 9 months ago) (1 children)

From what code to write, to what language to use, to how things will integrate.

Even high level architectural decisions need to be tested in dev first.

Basically I can't see what couldn't be run through dev first?

[–] tsonfeir@lemm.ee 2 points 9 months ago

Just because code works in dev doesn’t mean it’s going to be the right thing for production. I caught that little bastard making 1000 db queries in a loop one time, instead of taking the time to make it efficient. Technically it worked. And, because dev has no server load, it was relatively quick.

[–] Aiyub@feddit.de 1 points 9 months ago (1 children)

For me it was reverse. When I was a junior I was reviewing PRs from the seniors and it couldn't have possibly been tested to work.

The seniors were super lazy and around half the PRs would have broken production.

Seniority often comes from years of work and not knowledge.

[–] tsonfeir@lemm.ee 3 points 9 months ago

I try hard not to be an asshole at work. I also produce the most code. When my junior came on I told them that I’m here to help, and I want them to ask dumb questions instead of struggle. I also told them that I make mistakes, and they should call me on my shit—which they looove to do, brat.