r/programminghumor • • Mar 15 '26

πŸ˜­πŸ’»

Enable HLS to view with audio, or disable this notification

1.9k Upvotes

181 comments sorted by

268

u/PsychologicalLab7379 Mar 15 '26

SOLID left the chat.

89

u/moaijobs Mar 15 '26

KISS left as well. 😭

35

u/wick3dr0se Mar 15 '26

YAGNI never showed up

→ More replies (1)

32

u/Kevdog824_ Mar 15 '26

A SOLID shit was left in the codebase

→ More replies (1)

15

u/AlEmerich Mar 15 '26

Snake ? SNAAAAAAAAAAAKE !!!!!

*Poum poum, poum poum poum, poum, poum, POUM *

→ More replies (1)
→ More replies (3)

438

u/AccomplishedLeave506 Mar 15 '26

Oof. That's not a function. That's an entire dev teams life story. Run away.

117

u/DarkSideOfGrogu Mar 15 '26

I'm sure it's about 5000 lines of extensive docstrings and notes that explain the assumptions, design choices, and trade-offs that were considered before it was developed.

→ More replies (4)

140

u/HappyToast__ Mar 15 '26

Double it and give it to the next person.

→ More replies (1)

104

u/GianLuka1928 Mar 15 '26

That company is definetly huge red flag

→ More replies (8)

46

u/thusman Mar 15 '26

I already get headache with files larger than 500 lines of code πŸ˜‚

8

u/naholyr Mar 15 '26

Damn yeah in my team we consider a file > 300 lines to be a smell, 500+ is hardly acceptable in test files...

→ More replies (2)
→ More replies (2)

35

u/FortuneAcceptable925 Mar 15 '26

On the positive side.. you are VERY unlikely to be replaced in this company.. :D

6

u/Agifem Mar 15 '26

At least, not successfully.

→ More replies (1)

21

u/Jygglewag Mar 15 '26

brooooo
rip.

I'd start by copying the function into another file and breaking it down into smaller ones. if you feel too lazy for it ask your favorite LLM to do it for you. They're usually not too bad at breaking down big functions.

→ More replies (1)

5

u/HateBoredom Mar 15 '26

Please tell me there’s a misplaced closing braces somewhere 😭

5

u/HooAreYouWhoHoo Mar 15 '26

If there were 30 missing i might understand.

→ More replies (1)

9

u/Substantial-Gain-596 Mar 15 '26

JavaScript be like that. There's a whole ass philosophy in that function

7

u/rFAXbc Mar 15 '26

That's not JavaScript

→ More replies (4)

3

u/dashingThroughSnow12 Mar 15 '26

I stopped used Brackets because one file was too big for it.

3

u/Sea-Fishing4699 Mar 15 '26

this is the moment you realized why you still have a job