460
you are viewing a single comment's thread
view the rest of the comments
[-] JackbyDev@programming.dev 1 points 1 week ago

Define on as true or something? Or maybe that's more confusing. I'm not a C dev so I'm not gonna pretend to understand idiomatic microcontroller code lol.

[-] Croquette@sh.itjust.works 1 points 1 week ago

Sometimes, people do that. But using 0/1 is explicit enough since you can refer to a line as '1' or '0' for high/low on the hardware as well

this post was submitted on 15 Jul 2025
460 points (94.7% liked)

Programmer Humor

37347 readers
420 users here now

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

Rules:

founded 6 years ago
MODERATORS