3 ms·
Dynamic bindings are characterized by being bound not by the nearest preceding code at compile-time, but by the nearest preceding code at run-time. Therefore,
by tomp 15y ago
Dynamic bindings are characterized by being bound not by the nearest preceding code at compile-time, but by the nearest preceding code at run-time.
Therefore, the way I understand it, the important bit is not the relationship between a try and a catch, but between the throw and the catch. You could imagine throw as a call of the function last_catch(Exception e), which is dynamically bound by one of the "parent" functions (functions below on the stack).