ngn@lemy.lol to Programmer Humor@lemmy.mlEnglish · 2 months agogot himlemy.lolimagemessage-square118fedilinkarrow-up1475arrow-down139
arrow-up1436arrow-down1imagegot himlemy.lolngn@lemy.lol to Programmer Humor@lemmy.mlEnglish · 2 months agomessage-square118fedilink
minus-squareMiaou@jlai.lulinkfedilinkarrow-up2arrow-down4·2 months 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-up4·2 months agogoto cleanup is not the same as return. I didn’t badmouth goto cleanup.
minus-squareMiaou@jlai.lulinkfedilinkarrow-up1·2 months 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.