Maven (famous)@lemmy.zip to Programmer Humor@programming.dev · 1 month agoModern Programminglemmy.zipexternal-linkmessage-square77fedilinkarrow-up1594arrow-down18
arrow-up1586arrow-down1external-linkModern Programminglemmy.zipMaven (famous)@lemmy.zip to Programmer Humor@programming.dev · 1 month agomessage-square77fedilink
minus-squaremoomoomoo309@programming.devlinkfedilinkEnglisharrow-up8·1 month agoAll of those languages will convert numbers into booleans, 0 is false, all other numbers are true.
minus-squareSatyrSack@lemmy.sdf.orglinkfedilinkarrow-up2arrow-down1·1 month agoIt doesn’t make sense. I understand it, but it doesn’t make sense.
minus-squareLifter@discuss.tchncs.delinkfedilinkarrow-up1·29 days agoI agree. If anything it should check if there is a nuumber and 0 is clearly a number.
All of those languages will convert numbers into booleans, 0 is false, all other numbers are true.
Ah that makes sense.
It doesn’t make sense. I understand it, but it doesn’t make sense.
I agree. If anything it should check if there is a nuumber and 0 is clearly a number.
deleted by creator
deleted by creator