1.1 经典对象(classic class) 在2.1及其之前版本的python,只能用经典对象这种对象模型来编程。在2.2和2.3版本的python,经典对象也是默认的对象模型。
基于10个网页-相关网页
这是如何解决自顶向下的脚本问题的经典示例,但是在下一个部分中,您将完全改变这种方法,并从对象的角度考虑问题。
This is a classic example of how a top-down scripting problem can be solved, but in the next section you change your approach completely and think in terms of objects.
对象验证是处理不确定性的一项经典的防御性编程策略。
Object verification is a classic defensive programming strategy for dealing with uncertainty.
经典的C语言方式进行面向对象编程的一种方式就是使用晦涩的指针,比如句柄。
The classic C language approach to object oriented programming is the usage of opaque pointers, i.e., handles.
应用推荐