r/ProgrammerHumor • • Sep 06 '26

Meme cleaningUpTheMess

Post image
16k Upvotes

474 comments sorted by

View all comments

Show parent comment

2

u/SchwiftySquanchC137 Sep 06 '26

There are just so many situations where your assertion here is entirely wrong, that idt its worth trying to apply it to a meme where you cant see any actual code changes. How about, he deleted node modules and simply ran a formatter? Yeah you can break that up, but i mean shit its two commits that took 7 seconds each. How about simply deleting a shit ton of crappy code and replacing it with some header only third party library/ies? Should they be deleting one small section at a time and trying to pull in just the necessary part of that third party library one header file at a time? No, obviously not, that would be incredibly stupid, the point of the library is that you dont need to figure out how every single header interacts, you just pull in the whole thing. How about replacing one third party library with another, more focussed one, because the original was way more than you needed? This could be test data that was compacted down into something way more reasonable that achieves the same thing. Theres just so many options here that its stupid to go on about how much better you are at coding because you enforce a line limit to PRs.

1

u/SuitableDragonfly Sep 06 '26

Like I've now said repeatedly, deleting entire files isn't a problem because it's very quick to review that change. The problem with this is the 10k lines of code that were either added or modified. Also, you shouldn't be committing third party libraries to your repo at all.