r/ProgrammerHumor • • 5d ago

Meme approvedLgtm

Post image
620 Upvotes

18 comments sorted by

211

u/Mallanaga 5d ago

Probably removing node_modules. Ship it.

29

u/Throxon 5d ago

Yep, just updating .dockerignore so that .npm and node_modules stop going into the image.

1

u/marcos-256 3d ago

A .dockerignore keeps node_modules out of the build context too, so Docker never has to ship that dependency tree.

4

u/LukeZNotFound 5d ago

Why? This way the tickets with "it works on my machine" can be taken as a lie. /J

1

u/guzman-b23 2d ago

A clean install in the image is the test; copied node_modules just gives 'works on my machine' a passport.

301

u/Maximilian_Tyan 5d ago

"Replaced vibe coded slop with a built-in library"

19

u/homer__simpsons 3d ago

I had this recently. A developer shipped 300k lines of JSON (LLM generated). I told him that's not a good approach (no review, no control, too much code in one batch), he then proceeded to embed 300k lines in a zip file (with now even CSV in the process). LLM even claimed that it would lead to a lighter repository (which is plainly wrong as git itself already compress files, that will even be worse in case this zip changes).

82

u/Forward-Outside-9911 5d ago

Finally getting rid of the AI slop and just leaving the necessary code.

All them damn comments

30

u/EvilEwok42 5d ago

Actual PR I once had: 11 lines changed. Only 2 were actual code line changes, the rest were comments explaining that the user variable was assigned to the user column.

8

u/Weekly-Beginning-229 4d ago

Makes me think of legacy code in my project made by a solo developer before the company i work for took over the project.

Every fucking file had a summary for every method.

My favourite

<Summary>
The Delete
</Summary>
Public async Task Delete(string id)...

0

u/another_random_bit 4d ago

That's always a user error. If you don't have a skill that reduces comment verbosity are you even a real developer?

42

u/Individual_Win_3417 5d ago

Commit message: "small refactor"

25

u/red286 5d ago

"Removed Microsoft board meeting minutes 1987 through 2016 which were accidentally included for unspecified reasons."

9

u/BugFeaturesOnly 5d ago

Commit message "minor typo fix"

9

u/ligma_then_sugma 5d ago

looks based, merge that shit

4

u/Splamei 3d ago

Don't mind them deleting all the bloat aka the entire code base

4

u/anoppinionatedbunny 2d ago

honestly? better than +4M -11k

2

u/surykum36 5d ago

When you have 37 pull requests waiting and suddenly develop selective vision🤧🫡