the important thing is not to stop questioning

导航

 

一句话概括了两个模式的区别。 使用代理模式,代理和真实对象之间的的关系通常在编译时就已经确定了,而装饰者能够在运行时递归地被构造。

posted on 2015-12-13 21:23  qook  阅读(120)  评论(0编辑  收藏  举报