this post was submitted on 21 Jun 2024
471 points (98.4% liked)

Programmer Humor

19678 readers
324 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
471
COMEFROM (programming.dev)
submitted 5 months ago by JPDev to c/programmer_humor
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 5 months ago (2 children)

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

would make goto type situations much more usable

[–] [email protected] 17 points 5 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.

[–] [email protected] 6 points 5 months ago

It's basically a simpler version of a callback