@[email protected] to Ask [email protected] • 1 year agoWhat's a word you haven't heard used in years?message-square206fedilinkarrow-up1164
arrow-up1157message-squareWhat's a word you haven't heard used in years?@[email protected] to Ask [email protected] • 1 year agomessage-square206fedilink
minus-square@[email protected]linkfedilink23•1 year agoAs a software developer, I actually use “truthy” and “falsy” pretty regularly for “the computer thinks this value is true/false”
minus-square@[email protected]linkfedilink4•1 year agoJust remember that even though None is Falsy, an array of Nones is Truthy. Gets me every time. I fucking understand it logically (because the array itself exists) but damnit if I can make my lizard brain comprehend it while coding it.
minus-square@[email protected]linkfedilink3•1 year ago because the array itself exists More specifically it’s because the array isn’t empty.
Truthiness
As a software developer, I actually use “truthy” and “falsy” pretty regularly for “the computer thinks this value is true/false”
Just remember that even though None is Falsy, an array of Nones is Truthy. Gets me every time. I fucking understand it logically (because the array itself exists) but damnit if I can make my lizard brain comprehend it while coding it.
More specifically it’s because the array isn’t empty.
Strategery