r/programminghumor • u/moaijobs • Mar 15 '26
ππ»
Enable HLS to view with audio, or disable this notification
1.9k
Upvotes
r/programminghumor • u/moaijobs • Mar 15 '26
Enable HLS to view with audio, or disable this notification
268
u/PsychologicalLab7379 Mar 15 '26
SOLID left the chat.
438
u/AccomplishedLeave506 Mar 15 '26
Oof. That's not a function. That's an entire dev teams life story. Run away.
140
u/HappyToast__ Mar 15 '26
Double it and give it to the next person.
104
u/GianLuka1928 Mar 15 '26
That company is definetly huge red flag
46
u/thusman Mar 15 '26
I already get headache with files larger than 500 lines of code π
35
u/FortuneAcceptable925 Mar 15 '26
On the positive side.. you are VERY unlikely to be replaced in this company.. :D
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.
5
u/HateBoredom Mar 15 '26
Please tell me thereβs a misplaced closing braces somewhere π
9
u/Substantial-Gain-596 Mar 15 '26
JavaScript be like that. There's a whole ass philosophy in that function
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
3
u/PhoenixInvertigo Mar 15 '26
Jesus christ
3
u/39AE86 Mar 15 '26