siriusmart@lemmy.ml to Programmer Humor@lemmy.ml · 2 years agothe hardest exam questionlemmy.mlimagemessage-square47fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imagethe hardest exam questionlemmy.mlsiriusmart@lemmy.ml to Programmer Humor@lemmy.ml · 2 years agomessage-square47fedilink
minus-squareSkullgrid@lemmy.worldlinkfedilinkarrow-up0·2 years agoah ok , I think I write this a bit more verbose when using other languages, instead of if(thing) { stuff; } I do if(thing != null) { stuff; } so checking for numbers being truthy & existing didn’t seem like an issue
ah ok , I think I write this a bit more verbose when using other languages, instead of
if(thing) { stuff; }I do
if(thing != null) { stuff; }so checking for numbers being truthy & existing didn’t seem like an issue