ITeye博客

Alan kay面向对象原则

wangyanlong0107 · 2011-12-16 10:47 · 杂谈 · 非技术 · Markdown

1.Everything is an object.

2.A program is a bunch of objects telling each other what to do by sending messages.

3.Each object has its own memory made up of other objects

4.Every object has a type.

5.All objects of a particular type can receive the same messages.

    one of the challenges of object-oriented programming is to create a one-to-one mapping between the elements in the problem space and objects in the solution space.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。