当想要基于未知规则给一个类添加任意行为时,则需要使用一项不同的技术。
When you want to add arbitrary behavior to a class, based on unknown criteria, you need to use a different technique.
所以,基于动态类型和高阶函数,您可以在任何时候向类中引入任意的行为。
So based on the dynamic typing and higher-order functions, you can introduce arbitrary behavior to your classes at any time.
异常处理是每个应用程序的基本要求,以便处理应用程序的任意意外行为。
Exception handling is the basic requirement of every application to handle any unexpected behavior of the application.
应用推荐