tromars@feddit.de to Programmer Humor@lemmy.ml · 1 year agoIdeas for programming rizz?i.imgur.comexternal-linkmessage-square244fedilinkarrow-up12.07Karrow-down139
arrow-up12.04Karrow-down1external-linkIdeas for programming rizz?i.imgur.comtromars@feddit.de to Programmer Humor@lemmy.ml · 1 year agomessage-square244fedilink
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.