470
COMEFROM (programming.dev)
submitted 3 weeks ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 6 points 3 weeks ago

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

would make goto type situations much more usable

[-] Cethin 17 points 3 weeks 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 3 weeks ago

It's basically a simpler version of a callback

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

Programmer Humor

18407 readers
685 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