JPDev@programming.dev to Programmer Humor@programming.dev · 8 months agoCOMEFROMprogramming.devexternal-linkmessage-square36fedilinkarrow-up1342arrow-down18
arrow-up1334arrow-down1external-linkCOMEFROMprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 8 months agomessage-square36fedilink
minus-squareumbrella@lemmy.mllinkfedilinkarrow-up8arrow-down2·8 months agoam i the only dumb fuck here who unironically likes this? would make goto type situations much more usable
minus-squareCethin@lemmy.ziplinkfedilinkEnglisharrow-up16·8 months agoI 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.
minus-squareMindTraveller@lemmy.calinkfedilinkEnglisharrow-up5·8 months agoIt’s basically a simpler version of a callback
am i the only dumb fuck here who unironically likes this?
would make goto type situations much more usable
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.
It’s basically a simpler version of a callback