this post was submitted on 21 Mar 2025
658 points (99.5% liked)

Programmer Humor

21829 readers
1793 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 2 years ago
MODERATORS
 

Original post: hachyderm.io (Mastodon)

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Tja@programming.dev 4 points 1 day ago (1 children)

Akcshually we use 0 and "not equal 0", since "not 0" would be 0xFF..FF, and (at least gcc) gives back a 1 for a true expression. No idea about the spec, probably undefined...

[โ€“] npcknapsack@lemmy.ca 2 points 1 day ago

Damn you for correcting me correctly! :D