True or false?
2022-03-02 18:22:35.017404+01 by Dan Lyke 0 comments
RT Kate (Kate fan account)@thingskatedid
do you know why boolean values are represented as the positive integers 0 and 1? and why negative non-zero values are also considered true in languages like C. it turns out there's an interesting historic reason behind it! i will explain! 🧵 1/n
Kate (Kate fan account) @thingskatedid
it's because they've played us for absolute bools