▲ 189 ▼ What's a word you haven't heard used in years? (lemmy.world) submitted 3 years ago by RealWrastling@lemmy.world to c/asklemmy@lemmy.world 192 comments fedilink hide all child comments
[–] zero@lemm.ee 25 points 3 years ago (1 child) As a software developer, I actually use "truthy" and "falsy" pretty regularly for "the computer thinks this value is true/false" permalink fedilink source parent hideshow 2 child comments replies: [–] model_tar_gz@lemmy.world 4 points 3 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] Skyhighatrist@lemmy.ca 4 points 3 years ago (1 child) because the array itself exists More specifically it's because the array isn't empty. permalink fedilink source parent hideshow 2 child comments replies: [–] model_tar_gz@lemmy.world 2 points 3 years ago Yup you’re more right than I was. An empty array is still Falsy even though it exists. I accept the correction. permalink fedilink source parent
[–] model_tar_gz@lemmy.world 4 points 3 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] Skyhighatrist@lemmy.ca 4 points 3 years ago (1 child) because the array itself exists More specifically it's because the array isn't empty. permalink fedilink source parent hideshow 2 child comments replies: [–] model_tar_gz@lemmy.world 2 points 3 years ago Yup you’re more right than I was. An empty array is still Falsy even though it exists. I accept the correction. permalink fedilink source parent
[–] Skyhighatrist@lemmy.ca 4 points 3 years ago (1 child) because the array itself exists More specifically it's because the array isn't empty. permalink fedilink source parent hideshow 2 child comments replies: [–] model_tar_gz@lemmy.world 2 points 3 years ago Yup you’re more right than I was. An empty array is still Falsy even though it exists. I accept the correction. permalink fedilink source parent
[–] model_tar_gz@lemmy.world 2 points 3 years ago Yup you’re more right than I was. An empty array is still Falsy even though it exists. I accept the correction. permalink fedilink source parent