619
you are viewing a single comment's thread
view the rest of the comments
[-] PoastRotato@lemmy.world 66 points 3 years ago

My coworker flips his shit every time I include a ternary operator in a PR. He also insists on refactoring any block of code longer than two lines into its own function, even when it's only used once.

He is not well liked.

[-] bort@feddit.de 36 points 3 years ago

He also insists on refactoring any block of code longer than two lines into its own function

Thanks, uncle Bob.

[-] PoolloverNathan@programming.dev 5 points 3 years ago

Then refactor those two freshly-refactored lines into their own function as well for polymorphism, right?

load more comments (1 replies)
load more comments (3 replies)
this post was submitted on 08 Dec 2023
619 points (96.4% liked)

Programmer Humor

44225 readers
219 users here now

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

Rules:

founded 7 years ago
MODERATORS