irelephant [he/him]@lemmy.dbzer0.com to Programmer Humor@programming.dev · 2 days ago: (lemmy.dbzer0.comimagemessage-square30fedilinkarrow-up1295arrow-down13
arrow-up1292arrow-down1image: (lemmy.dbzer0.comirelephant [he/him]@lemmy.dbzer0.com to Programmer Humor@programming.dev · 2 days agomessage-square30fedilink
minus-squarekubica@fedia.iolinkfedilinkarrow-up31·2 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·2 days agoAnd for double fun if the output doesn’t matter you can make if endsWith(“e”).
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”).