this post was submitted on 21 Nov 2023
413 points (96.6% liked)

Programmer Humor

32380 readers
1443 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
[–] [email protected] 25 points 11 months ago (8 children)

Damn, you beat me to it.

It's common enough that it's supported like a comment by numerous syntax highlighting schemes, and has the added benefits of guaranteeing that the code won't be compiled as well as encapsulating any pre-existing block comments. Conversely, if (false) is total garbage.

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

If (false) is good because it is compiled so it doesn't get stale.

[–] [email protected] 6 points 11 months ago (1 children)

"you're not wrong, you're just an asshole"

[–] [email protected] 1 points 11 months ago

Fair enough, I do love being contrarian

load more comments (5 replies)
load more comments (5 replies)