3 ms·
In the 80s there was an April Fools issue of "Communications of the ACM" positing a "COME FROM" statement (not too long after "GOTO Considered Harmful"): https
by jfengel 4y ago
In the 80s there was an April Fools issue of "Communications of the ACM" positing a "COME FROM" statement (not too long after "GOTO Considered Harmful"):
https://dl.acm.org/doi/10.1145/358027.358043 https://dl.acm.org/doi/10.1145/358027.358043
It was a joke because of course it was obviously worse than GOTO. But much of modern programming seems to consist precisely of COME FROM style constructs. A common term is "inversion of control", which can also mean "You don't have control".
As with metaprogramming, it's powerful in that it can take control of your system without your direction, but dangerous in that it's hard to predict when it will. I find that the hardest thing to debug is when things don't happen, when it's out of your control to make them happen. There's no place to put a debugger on "never happened".
Dynamic types, similarly, are hard to debug because they fail by not happening. Errors aren't caught, but there's no instant at which it wasn't caught because it was "any time".
- masklinn 4y ago> In the 80s there was an April Fools issue of "Communications of the ACM" positing a "COME FROM" statement (not too long after "GOTO Considered Harmful"): 1978 actually: http://www.modell.com/Magery/SPharmful.html http://www.modell.com/Magery/SPharmful.html But that was a followup from a much older paper, from 1973: https://web.archive.org/web/20180716171336/http://www.fortran.com/fortran/come_from.html https://web.archive.org/web/20180716171336/http://www.fortra... And to make you feel really old, "Go To Statement Considered Harmful" dates back to 1968. The context was the debate on structured programming which mostly happened in the 60s and early 70s (though it has flareups unending, they tend to be limited in scope).
- dllthomas 4y ago"COME FROM" also made its way into INTERCAL, although I don't know the timeline.
- masklinn 4y agoI actually discovered it from INTERCAL, which I know to be from the 70s, but the wiki told me COME FROM was added by INTERCAL-C which was created in the early 90s, so it’s a much later addition to the COME FROM universe.
- bitwize 4y ago> A common term is "inversion of control", which can also mean "You don't have control". Back in the Slashdot days I told people inversion of control means "in Soviet Russia, API calls you!"
- pmontra 4y agoThe app based gig economy?