this post was submitted on 25 Jun 2023
392 points (97.8% liked)

Programmer Humor

32595 readers
1848 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] MajinBlayze 31 points 1 year ago (4 children)

More often than not this is "it seems like there are problems with how it's implemented but I can't think of them now" but sometimes it definitely is "that's not the way I would have done it and therefore wrong"

All that said, I used to work with a guy that would find a reason to fail every code review. It became common for people to add intentional easy mistakes so that the lead could feel like he was contributing.

[–] ElectricMoose 4 points 1 year ago (1 children)

not the way I would have done it

It could be a legitimate criticism. Sticking to a codebase style and to the language idioms improves clarity and thus maintainability. But then, that means the way to do it should already be clear.

[–] MajinBlayze 1 points 1 year ago

Agreed, and those patterns often have reasons to them, which may not be obvious at first glance, and are often forgotten when your spend a long time with them.

load more comments (2 replies)