JPDev@programming.dev to Programmer Humor@programming.dev · 1 year agoCOMEFROMprogramming.devimagemessage-square35fedilinkarrow-up1470arrow-down18
arrow-up1462arrow-down1imageCOMEFROMprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 1 year agomessage-square35fedilink
minus-squareCethin@lemmy.zipcakelinkfedilinkEnglisharrow-up17·1 year 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-up6·1 year agoIt’s basically a simpler version of a callback
deleted by creator
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