ProgrammerHumor

damnItsTime

damnItsTime
https://i.redd.it/c737w81q1tbf1.jpeg
Reddit

Discussion

StormOnyx42

When you realize your career now includes babysitting code, not just writing it.

1 day ago
skwyckl
:elixir-vertical_4::py::r::js:

Also, playing policeman and forcing people to enforce guidelines and the likes, until one stubborn junior thinks he too good for it and find yourself triggering a PIP after repeated offence

1 day ago
WrapKey69

What's a PIP?

1 day ago
khalcyon2011

Performance Improvement Plan. In theory, it's an agreement to correct how you're performing your job. If you don't shape up, you're fired. In reality, it's usually just a CYA by the employer to say "well, we tried" before firing an underperforming employee.

23 hours ago
skwyckl
:elixir-vertical_4::py::r::js:

A process you have imposed on you by your supervisor because of bad performance, often resulting in a termination of contract (it wasn't always like this, but today it is a bad omen)

1 day ago
WrapKey69

Thanks

1 day ago
Himskatti

Short for performance improvement plan, if I'm correct. Ironic, if so, as it seems to be interpreted as a step before termination by many

21 hours ago
skwyckl
:elixir-vertical_4::py::r::js:

Sure thing

1 day ago
headshot_to_liver

Performance Improvement Plan, sugar coat and a severance waiver so that employer can sack you without any reason, deliverables are often unrealistic to begin with

21 hours ago
Brilliant-Prior6924

It's a death sentence, once you get one bail and go to the next job and survive until you get one there

21 hours ago
knightzone OP
:j::cs::asm::ts::bash::py:

I mean, I knew this was goin to happen at some point. Just expressing my disappointment.

1 day ago
headshot_to_liver

Bruh, who the hell submitted a school essay as PR

21 hours ago
KarneeKarnay

One of the hardest things to find out. Your company thinks your more efficient doing reviews than coding. The worst part is they are probably right.

20 hours ago
cyborgamish

Not the same if 13000 lines of C or an updated lock file… Context matters.

1 day ago
knightzone OP
:j::cs::asm::ts::bash::py:

It is a lot of whitespace with some added features sprinkled in between.

1 day ago
Steinrikur

Reject that.

Whitespace changes and added features should be separate commits. They can be in the same PR, but not the same commit.

21 hours ago
trwolfe13
:cs::ts:

(Unless use squash commits. Then they need to be separate PRs too.)

13 hours ago
Steinrikur

Yet another reason why squash on merge is stupid. That's a hill I will die on

9 hours ago
cyborgamish

At least someone wants to contribute haha no, good luck with that

23 hours ago
ttlanhil
:py:

If that's anything other than "used autoformatter to fix whitespace" or "optimised SVG files", then rejected for being too large

Or, maybe in some cases, auto-generated definition files or some such (although often that'd make more sense to be part of build than checked in)

1 day ago
the_horse_gamer

tip: for formatting prs, use .git-blame-ignore-revs so git blame does not blame whoever did that formatting commit, but whoever last changed the actual code

1 day ago
knightzone OP
:j::cs::asm::ts::bash::py:

Thanks! Git blame gets used a LOT at my job, so this'll come in handy.

1 day ago
oofy-gang

Why? I can imagine a lot of bad reasons and not many good ones. I feel like git blame should be sparsely used.

5 hours ago
DreadY2K

Using it to assign blame isn't useful, but using it to see what PR made a change and (hopefully, if it's well documented) why it was changed can be helpful

5 hours ago
knightzone OP
:j::cs::asm::ts::bash::py:

I am currently working on my resume to leave the company. This is one of the biggest reasons.

3 hours ago
dylansavage

Yeah it's really useful to get a bit of context behind stuff on a few slack pings.

2 hours ago
Mojert

That's one hell of a tip. I didn't know about this feature, thanks a lot!

21 hours ago
anto2554

At my job we just refer to an empty folder called "doc"

1 day ago
immersiveGamer

Huh, I wonder if Perforce has something like this. 

18 hours ago
Bomaruto
:sc::kt::j:

Testdata for unit tests has been the cause of my biggest PRs.

21 hours ago
knightzone OP
:j::cs::asm::ts::bash::py:

Nice guess, you are correct!

1 day ago
ttlanhil
:py:

Ooh, on which one? Autoformatter?

At least that should be simple enough to review - run the autoformatter yourself (because they also checked in autoformatter config, right?) and see if it's the same

1 day ago
knightzone OP
:j::cs::asm::ts::bash::py:

Yeah about that... We are not yet using autoformatters. I tried to explain it to my boss, but he did not want me to spend time setting it up. We do have a readme in which all conventions are mentioned...

1 day ago
New_Enthusiasm9053

Rookie mistake, you don't ask about shit like that. 

20 hours ago
knightzone OP
:j::cs::asm::ts::bash::py:

I didn't. I got fed up with my boss' feedback on my code. (Biggest one was not being allowed to use a switch statement.) So, naturally, I had a list of all remarks that I found unlogical so my code wouldn't be rejected. He found out about the list, got real mad at me for a day. Then, he introduced a "code book" in which are basically naming conventions and limits on what features to use.

I'm cleaning up my resume tonight, the final straw was not being promoted after a year. I make 2200 a month gross based in the netherlands. (32 hours)

20 hours ago
runhillsnotyourmouth

oh man.. I'm over like "wtf is a seitch statement", thinking it must be something really cool I've never heard of.. embarrassing

19 hours ago
knightzone OP
:j::cs::asm::ts::bash::py:

My bad, I meant switch

19 hours ago
runhillsnotyourmouth

yeahh, I know.. and it should have been obvious.. but I am still enjoying the first sips of my morning coffee and needed google to hit me with "did you mean switch statement" first

19 hours ago
dylansavage

It sounds like he just introduced standards.

All of those things that he introduced should be introduced.

2 hours ago
knightzone OP
:j::cs::asm::ts::bash::py:

Yes I agree that standards should be used. I do not think that those standards should prohibit basic features of a programming language.

57 minutes ago
dylansavage

I guess limit features is quite wide in interpretation.

Anything that was particularly egregious?

45 minutes ago
knightzone OP
:j::cs::asm::ts::bash::py:

A ban on the .map function, no forEach loops and no switch statements. Because of unreadability.

15 minutes ago
FerricPowder

What about my 65 thousand lines of code though.

1 day ago
AssistantSalty6519
:cs:

On our company we do format check at pipeline level so it fails. You are forced to always format it so it is always up to date

18 hours ago
RichCorinthian

Yeah, I’m struggling to see how there could be 13k+ deleted lines that were inconsequential. I guess if you have a mammoth code base and you just lint-fix the shit out of everything.

For me, once, the junior told me “The tests broke after my change so I deleted them”

9 hours ago
ttlanhil
:py:

I think your quotes are in the wrong place, surely that should be

> the junior told me "The tests broke after my change", so I deleted them

😆

5 hours ago
hammonjj

Same with package.lock

8 hours ago
ttlanhil
:py:

Maybe...

If it were +12.5k -13k then maybe it's just new minor/patch versions of a lot of dependencies, but the changes are too asymmetrical for that - you're pretty much never going to get that with just updating deps to a new minor/patch version

If you have +2.5k -13k from package lock, then you've got a lot of dependency changes, and it needs a lot of inspection

Maybe you've updated to a new major version of a direct dependency and that's resulted in far fewer packages required, but I'd be suspecting there were multiple dependencies updated with that large a change (and each direct dependency update to a new major version should be its own merge request)

5 hours ago
zkDredrick

My autoformatter of choice is the find/replace in notepad++

Find four spaces, replace with \t

20 hours ago
godplaysdice_

People have really screwed up the grammar of this meme. It should be either "It is my great disappointment to inform you" OR "It is with great disappointment that I inform you", not a mashup of the two.

19 hours ago
knightzone OP
:j::cs::asm::ts::bash::py:

Don't look at the singular gentleman.

19 hours ago
ZunoJ
:cs: :asm: :c:

Just decline it and tell them to break it down into more granular PRs

1 day ago
ApprehensiveCrab3472

Ok I will review asap after my feature is done, that’s really soon (the next milestone)

1 day ago
Otherwise-Mud9478

The initial developper: « It is just adding plurals in the wording »

Edit: Typo

23 hours ago
diet_fat_bacon

I'm preparing one MR to send before I take my vacation.

Right now it's  +13000 -15000

14 hours ago
JackNotOLantern

This is very simple: the PR is too big. Please split changes into smaller PRs

17 hours ago
MorningComesTooEarly

Do two or three random and generic comments, then approve and hope someone else has to deal with the consequences

13 hours ago
tacticalpotatopeeler
:bash:

LGTM

13 hours ago
WhiteSkyRising

lgtm

12 hours ago
vastlysuperiorman

Just reviewed one that was +2.4M, -800k. Fortunately it was almost entirely generated files, so I only really had to review the generator code itself. Still pretty daunting when you first see it.

10 hours ago
knightzone OP
:j::cs::asm::ts::bash::py:

Hot damn.

3 hours ago
Thetanor

Well, at least they were kind enough to inform you that it is a trap beforehand.

Though, does that make it not a trap...? 

14 hours ago
Excellent-Refuse4883

6 hours ago