tfm@europe.pub to Programmer Humor@programming.devEnglish · 2 days agoTrue crimeeurope.pubimagemessage-square63fedilinkarrow-up1310arrow-down112
arrow-up1298arrow-down1imageTrue crimeeurope.pubtfm@europe.pub to Programmer Humor@programming.devEnglish · 2 days agomessage-square63fedilink
minus-squarefoxglove (she/her)@lazysoci.allinkfedilinkEnglisharrow-up1·17 hours agoyeah, it’s funny how my brain collapsed the boolean check into if (role) rather than if (role === true) - that’s tricky what is FILE_NOT_FOUND? I can’t find much on it …
minus-squareBjörn Tantau@swg-empire.delinkfedilinkarrow-up3·16 hours agoFILE_NOT_FOUND is from an old story on thedailywtf.com. Someone created a boolean enum with TRUE, FALSE and FILE_NOT_FOUND, if I recall correctly. It’s been a recurring running joke.
minus-squarefoxglove (she/her)@lazysoci.allinkfedilinkEnglisharrow-up2·8 hours agothank you for letting me in on the joke 😄 and for catching my error!
yeah, it’s funny how my brain collapsed the boolean check into
if (role)
rather thanif (role === true)
- that’s trickywhat is
FILE_NOT_FOUND
? I can’t find much on it …FILE_NOT_FOUND is from an old story on thedailywtf.com. Someone created a boolean enum with TRUE, FALSE and FILE_NOT_FOUND, if I recall correctly. It’s been a recurring running joke.
thank you for letting me in on the joke 😄
and for catching my error!