tromars@feddit.de to Programmer Humor@lemmy.ml · 1 year agoIdeas for programming rizz?i.imgur.comexternal-linkmessage-square247fedilinkarrow-up12.1Karrow-down139
arrow-up12.06Karrow-down1external-linkIdeas for programming rizz?i.imgur.comtromars@feddit.de to Programmer Humor@lemmy.ml · 1 year agomessage-square247fedilink
minus-squareqaz@lemmy.worldlinkfedilinkarrow-up6·1 year agoif ok { return true } else { return false } Why?
minus-squarenickwitha_k (he/him)@lemmy.sdf.orglinkfedilinkarrow-up4·1 year agoIdiomatic Go way of checking for the presence of a key in a map.
if ok { return true } else { return false }
Why?
Idiomatic Go way of checking for the presence of a key in a map.