真正的面向对象编程意味着对象隐藏其内部状态,并实现其使用该状态信息的行为。
True object-oriented programming means that objects hide their internal state and implement their own behaviors for working with that state information.
更细致的来说一种真正的面向对象程序设计语言会有更多的细节特性[例如type casting(将某种格式的数据转换为其他格式的操作)]而alice不具备这些特性。
Insofar as the detailed picture is concerned, there are numerous detailed features (such at type casting) that are expected from a true OOP language which are not available in Alice.
但是无可否认,这本书包含了丰富的面向对象设计专业知识,在我起初阅读的时候,只是觉得这些是有趣的理论,它们不会被真正使用到。
Whilst it undeniably captures a wealth of object-oriented design expertise in one place, I felt initially that much of it was interesting theory that I would never really use.
应用推荐