面向代理编程
construction of the software is centered on the concept of software agents
a software agent is a computer program that acts for a user or other program in a relationship of agency, which derives from the Latin agere (to do): an agreement to act on one’s behalf. Such “action on behalf of” implies the authority to decide which, if any, action is appropriate.
OOP | AOP | |
---|---|---|
基本单元 | 对象 | 代理 |
定义基本单元状态的参数 | 无约束 | 信念,承诺,能力,选择 … |
计算的过程 | 消息传递和响应方法 | 消息传递和响应方法 |
消息的类型 | 无约束 | 通知,要求,提供,允诺,拒绝 … |
方法的约束 | 无 | 诚实,一致 … |