Email or username:

Password:

Forgot your password?
Devil Lu Linvega

Someone sent me an email to congratulate me on abusing COMEFROMs, in Uxntal. I had no idea what that meant until today:

COMEFROM is an obscure control flow structure used in some programming languages, originally as a joke. It is the inverse of GOTO in that it can take the execution state from any arbitrary point in code to a COMEFROM statement.

en.wikipedia.org/wiki/COMEFROM

5 comments
sqrt(-1)

@neauoire "Depending on the language used, multiple COMEFROMs referencing the same departure point may be invalid, be non-deterministic, be executed in some sort of defined priority, or even induce parallel or otherwise concurrent execution as seen in Threaded Intercal."

this is awesome!

Simon Harris

@neauoire did you manage to exploit something you didn’t know about by accident? 🙀

Devil Lu Linvega

@haruki_zaemon In my code I commented it as "callback?", because it kindda looks like one at a glance, but apparently this has a name. TIL

ratfactor

@neauoire INTERCAL! Just don't implement "PLEASE". 😂

eiZen

@neauoire Yes. It was one of the arguments why INTERCAL is better than Perl, which has GOTO and as we all know that is considered harmful. :-)

articles.mongueurs.net/spoofat

Go Up