this post was submitted on 21 Nov 2023
280 points (97.0% liked)

Programmer Humor

32555 readers
696 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
[โ€“] dmrzl@programming.dev 7 points 1 year ago* (last edited 1 year ago) (1 children)

Comments are the worst as they are ignored by refactoring. That's the reason if (false) is actually really good for temporarily disabled code.

[โ€“] jormaig@programming.dev 1 points 1 year ago

I never thought of that. That's quite smart!