458
got him (lemy.lol)
submitted 4 months ago by ngn@lemy.lol to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Miaou@jlai.lu -1 points 4 months ago

goto is used in C for this exact kind of early return management. The person you answered to does not maintain code I think

[-] avidamoeba@lemmy.ca 5 points 4 months ago

goto cleanup is not the same as return. I didn't badmouth goto cleanup.

[-] Miaou@jlai.lu 1 points 4 months ago

This is virtually the same thing with a different keyword, I'd like to hear where you (and the down voters) draw the line.

this post was submitted on 09 May 2024
458 points (92.4% liked)

Programmer Humor

32192 readers
367 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS