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

Programmer Humor

19585 readers
575 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
[–] [email protected] 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

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

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

It's basically a simpler version of a callback