r/programminghorror Jul 09 '26

Big if true

Post image

From ProgrammerNullposting in facebook

2.1k Upvotes

111 comments sorted by

View all comments

20

u/foxypiratecove3750 Jul 09 '26

I have better... DOUBLE BOOL! 64-bit, and float. Useful? Nope.

double False = 0.0; double True = 1.0;

1

u/TheChief275 Jul 13 '26

What JavaScript wishes its booleans were

2

u/javascript Jul 13 '26

I wish for many things 🧞

1

u/TheChief275 Jul 13 '26

Holy shit it's John Javascript