this post was submitted on 14 Dec 2024
112 points (95.9% liked)

Programming Humor

2865 readers
1 users here now

Related Communities [email protected] [email protected] [email protected] [email protected]

Other Programming Communities [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] 13esq 8 points 2 months ago (1 children)

Can someone explain the joke for someone that knows nothing about programming?

[–] anyhow2503 22 points 2 months ago* (last edited 2 months ago) (1 children)

"0b" is a prefix for binary number literals (at least in C++, probably other languages too). So in decimal that would be the number 2.

[–] 13esq 6 points 2 months ago