471
COMEFROM (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] umbrella@lemmy.ml 6 points 3 months ago

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

would make goto type situations much more usable

[-] Cethin@lemmy.zip 17 points 3 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 3 months ago

It's basically a simpler version of a callback

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

Programmer Humor

19315 readers
39 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