irelephant [he/him]@lemmy.dbzer0.com to Programmer Humor@programming.dev · 6 days ago: (lemmy.dbzer0.comimagemessage-square33linkfedilinkarrow-up1302arrow-down13
arrow-up1299arrow-down1image: (lemmy.dbzer0.comirelephant [he/him]@lemmy.dbzer0.com to Programmer Humor@programming.dev · 6 days agomessage-square33linkfedilink
minus-squareMultipleAnimals@sopuli.xyzlinkfedilinkEnglisharrow-up45arrow-down2·6 days agostrings “true” and “false” ofc like any sane developer
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up28·6 days agoI got a better one: O for true and N for false. Seen in production for quite important stuff (payment requests). O is from Oui, N from Non, of course! 😐🫤
minus-squarepsud@aussie.zonelinkfedilinkEnglisharrow-up2·9 hours agoThe system I work on uses “Y” and “N”.
minus-squarefelbane@lemmy.worldlinkfedilinkarrow-up4·4 days agoThis is awful and aweful at the same time.
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up1·edit-25 hours agoNon affective, non effective.
minus-squarekubica@fedia.iolinkfedilinkarrow-up32·6 days agoit allows for mood changes, some parts of the code can check charAt(0) == 't'others can do val != 'false' just let it flow.
minus-squaresznowicki@lemmy.worldlinkfedilinkarrow-up21·6 days agoAnd for double fun if the output doesn’t matter you can make if endsWith(“e”).
strings “true” and “false” ofc like any sane developer
I got a better one: O for true and N for false.
Seen in production for quite important stuff (payment requests).
O is from Oui, N from Non, of course!
😐🫤
The system I work on uses “Y” and “N”.
This is awful and aweful at the same time.
Non affective, non effective.
good fucking god
it allows for mood changes, some parts of the code can check
charAt(0) == 't'others can doval != 'false'just let it flow.lord mary joseph make it stop
And for double fun if the output doesn’t matter you can make if endsWith(“e”).