this post was submitted on 21 Jun 2024
468 points (98.3% liked)

Programmer Humor

19551 readers
1078 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] umbrella@lemmy.ml 6 points 4 months ago (2 children)

am i the only dumb fuck here who unironically likes this?

would make goto type situations much more usable

[–] Cethin@lemmy.zip 17 points 4 months ago

I don't see any case where this is better than a goto. A goto you can read progressively though. A comefrom you'd see written then have to track to that piece of code and remember there's a potential hidden branch there.

[–] MindTraveller@lemmy.ca 6 points 4 months ago

It's basically a simpler version of a callback