minus-squareExcel@beehaw.orgtoProgrammer Humor@programming.dev•Trick XOR TreatlinkfedilinkEnglisharrow-up4·edit-22 months ago“A implies B” means if A is true then B must be true; if A is false, then B can be anything. In other words, the only state not allowed is A being true and B being false. Therefore, the only “hole” is the part of A that doesn’t include B. linkfedilink
minus-squareExcel@beehaw.orgtoProgrammer Humor@lemmy.ml•The JavaScript type coercion algorithmlinkfedilinkEnglisharrow-up3·5 months ago2 is not == true, but !!2 is true linkfedilink
minus-squareExcel@beehaw.orgtoProgrammer Humor@lemmy.ml•You can lead a P to M but you can’t make ’em F’ing RlinkfedilinkEnglisharrow-up3·10 months agoExample code is a form of documentation linkfedilink
“A implies B” means if A is true then B must be true; if A is false, then B can be anything. In other words, the only state not allowed is A being true and B being false. Therefore, the only “hole” is the part of A that doesn’t include B.