官术网_书友最值得收藏!

Chapter 3
Synthesis

In Chapter 2, Thesis, we saw that the core benefits of OOP can be achieved with a small number of considerations:

  • Objects are independent programs, ignorant of context to the largest possible extent
  • Objects communicate by sending messages
  • Objects behave in ways described in contracts expressing their responses to messages
  • Objects can be written, changed, inspected, and adapted in context

There is no system currently available that supports all of these requirements simultaneously. Ironically, while OOP has become overcomplicated, as demonstrated in Chapter 1, Antithesis, it has also remained incomplete. In the final part of this book, let's consider what such a system would look like.

主站蜘蛛池模板: 香河县| 门头沟区| 玛多县| 土默特右旗| 成都市| 乐昌市| 柳林县| 灌云县| 阿拉尔市| 凤阳县| 中阳县| 阳西县| 天津市| 增城市| 马鞍山市| 宣化县| 玛沁县| 澜沧| 乳山市| 读书| 云浮市| 旅游| 台州市| 名山县| 那坡县| 彭水| 沭阳县| 武汉市| 渭源县| 卓资县| 余江县| 遂平县| 泸溪县| 黄龙县| 本溪| 和顺县| 徐州市| 孙吴县| 安陆市| 石屏县| 华坪县|