3 ms·
NOt quite - throw doesn't specify where to go, leaves it up to the caller. Very much more useful.
by JoeAltmaier 14y ago
NOt quite - throw doesn't specify where to go, leaves it up to the caller. Very much more useful.
- gordonguthrie 14y agoYeah, but the problem with GOTO isn't at the GOTO end - that is usually very clear - in this case go here... The real problem is at the arrival point 'where has the thread of execution come from, and what state is the programme in'. Exceptions have the same arrival problem 'where in the code did this come from, and what was the state when it was thrown?'
- zwieback 14y agoTime to bring up the COME FROM statement: http://en.wikipedia.org/wiki/COME_FROM http://en.wikipedia.org/wiki/COME_FROM