this post was submitted on 01 Aug 2023
294 points (94.3% liked)

Programmer Humor

24637 readers
959 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] ImpossibleRubiksCube@programming.dev 1 points 2 years ago* (last edited 2 years ago)

It's a macro for zero in C, but they aren't literally the same thing. If you have a value which is zero, you have a value; if your value is null, then it means that you do not have a value; not even zero.

They could have just as easily made it a macro for 0xFFFF.