ประโยคภาษาจีน : 中文句子 |
---|
cóng 从 kòng zhì 控制 liú 流 de 的 jiǎo dù 角度 kàn 看 shì jiàn 事件 shì 是 yí cì hán shù 一次函数 diào yòng 调用 ér 而 yì cháng 异常 zé 则 shì 是 duī zhàn 堆栈 de 的 tū rán 突然 tiào yuè 跳跃 yòng 用 zhǎn kāi 展开 de 的 yǔ yì 语义 xiāo huǐ 销毁 diū shī 丢失 de 的 duì xiàng 对象 |
From a control-flow perspective, an event is a function call, whereas an exception is a long jump across the stack, with unwinding semantics to destroy lost objects. |