this post was submitted on 29 Mar 2024
977 points (98.3% liked)

Programmer Humor

19564 readers
1077 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 7 months ago (6 children)

This does seem like a potential issue if the PR is itself implementing more than one vertical slice of a feature. Then it could have been smaller and there might be wasted effort.

If the patches are small and well-organized then this isn't necessarily a bad thing. It will take more than one day to review it, but it clearly took much more time to write it.

[–] [email protected] 5 points 7 months ago (5 children)

True, but at the same time its very possible to go too small. A bunch of one line code reviews can really slow progress easily.

[–] [email protected] 3 points 7 months ago

Right but it's pretty rare that a tiny PR actually accomplishes a valuable user story.

So my point is just that lines of code is mostly irrelevant as long as it's organized well and does no more than necessary to accomplish the agreed upon goal.

load more comments (4 replies)
load more comments (4 replies)