484
got him (lemy.lol)
submitted 7 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 3 points 7 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 7 months ago

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

[-] Miaou@jlai.lu 1 points 7 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
484 points (100.0% liked)

Programmer Humor

32731 readers
451 users here now

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

Rules:

founded 5 years ago
MODERATORS