ngn@lemy.loldeleted by creator to Programmer Humor@lemmy.mlEnglish · 3 years agogot himlemy.lolimagemessage-square132linkfedilinkarrow-up1501arrow-down141
arrow-up1460arrow-down1imagegot himlemy.lolngn@lemy.loldeleted by creator to Programmer Humor@lemmy.mlEnglish · 3 years agomessage-square132linkfedilink
minus-squareMiaoulinkfedilinkarrow-up3arrow-down4·3 years agogoto is used in C for this exact kind of early return management. The person you answered to does not maintain code I think
minus-squareAvid Amoeba@lemmy.calinkfedilinkarrow-up5·3 years agogoto cleanup is not the same as return. I didn’t badmouth goto cleanup.
minus-squareMiaoulinkfedilinkarrow-up1·3 years agoThis is virtually the same thing with a different keyword, I’d like to hear where you (and the down voters) draw the line.
goto is used in C for this exact kind of early return management. The person you answered to does not maintain code I think
goto cleanup is not the same as return. I didn’t badmouth goto cleanup.
This is virtually the same thing with a different keyword, I’d like to hear where you (and the down voters) draw the line.