khoi@slrpnk.net to Go programming language discussion@lemmy.ml · 1 year agoShould I use naked return? If not, why? If yes, when?message-squaremessage-square1fedilinkarrow-up17arrow-down10
arrow-up17arrow-down1message-squareShould I use naked return? If not, why? If yes, when?khoi@slrpnk.net to Go programming language discussion@lemmy.ml · 1 year agomessage-square1fedilink
minus-squaresquirmy_wormy@lemmy.worldlinkfedilinkarrow-up6·1 year agoThis says when it’s ok to use them and why it should be limited https://go.dev/tour/basics/7 Personally, I don’t like them. Makes things awkward to read imo
This says when it’s ok to use them and why it should be limited
https://go.dev/tour/basics/7
Personally, I don’t like them. Makes things awkward to read imo
deleted by creator