mycroftholmess@lemm.ee to Programmer Humor@programming.dev · 11 months agoGolang be likei.imgur.comimagemessage-square125fedilinkarrow-up11.4Karrow-down127
arrow-up11.38Karrow-down1imageGolang be likei.imgur.commycroftholmess@lemm.ee to Programmer Humor@programming.dev · 11 months agomessage-square125fedilink
minus-squareAstridWipenaugh@lemmy.worldlinkfedilinkarrow-up5·edit-211 months 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.