khoi to Go programming language discussion@lemmy.ml • 6 months agoShould I use naked return? If not, why? If yes, when?message-square2fedilinkarrow-up16arrow-down10
arrow-up16arrow-down1message-squareShould I use naked return? If not, why? If yes, when?khoi to Go programming language discussion@lemmy.ml • 6 months agomessage-square2fedilink
minus-square@ck_link4•6 months agoYeah, I tend to agree, naked returns are hard to read and they don’t really add much in terms of value. I avoid them in my code.
Yeah, I tend to agree, naked returns are hard to read and they don’t really add much in terms of value.
I avoid them in my code.