mycroftholmess@lemm.ee to Programmer Humor@programming.dev · 2 years agoGolang be likei.imgur.comexternal-linkmessage-square126fedilinkarrow-up11.43Karrow-down129
arrow-up11.41Karrow-down1external-linkGolang be likei.imgur.commycroftholmess@lemm.ee to Programmer Humor@programming.dev · 2 years agomessage-square126fedilink
minus-squareAstridWipenaugh@lemmy.worldlinkfedilinkarrow-up5·edit-22 years agoThe underscore is used in production code too. It’s a legitimate way to tell the compiler to discard the object because you don’t intend to use the pointer/value.
The underscore is used in production code too. It’s a legitimate way to tell the compiler to discard the object because you don’t intend to use the pointer/value.