r/ProgrammerHumor • • 2d ago

Meme approvedLgtm

Post image
520 Upvotes

16 comments sorted by

161

u/Mallanaga 2d ago

Probably removing node_modules. Ship it.

17

u/Throxon 2d ago

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

1

u/marcos-256 10h ago

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

4

u/LukeZNotFound 1d ago

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

269

u/Maximilian_Tyan 2d ago

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

2

u/homer__simpsons 17h 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).

73

u/Forward-Outside-9911 2d ago

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

All them damn comments

25

u/EvilEwok42 2d 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.

5

u/Weekly-Beginning-229 1d 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)...

1

u/another_random_bit 1d ago

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

34

u/Individual_Win_3417 2d ago

Commit message: "small refactor"

20

u/red286 2d ago

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

8

u/BugFeaturesOnly 2d ago

Commit message "minor typo fix"

6

u/ligma_then_sugma 1d ago

looks based, merge that shit

1

u/Splamei 19h ago

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

1

u/surykum36 2d ago

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