m*t
4 楼
I think the difference is whether A is reponsible for B's life cycle, or
merely referencing B. IOW, if A owns B's ass, it's composition, otherwise
it's aggregation.
【在 o***g 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
:
: aggregation or compasition
: 依赖关系,好像是
: directive
: aggregation or compasition
: 不记得了
: aggregation 和 compasition一个是没有不行,一个是没有也可以,我搞不清楚
: 哪个是哪个了。比如汽车和气囊 汽车和轮子
: 上面都不保证对
相关阅读
这里有做ServiceNow的朋友吗?王银水平可能确实不高,比我差些顺便和nod101说说做产品go真是好东西Happy New Year!Node.js is not suitable for generic web projectsnodejs估计快挂了动态脚本适合做glue code, 静态语言适合做heavy liftingjava是个骗人的语言码工发文的格式特点M#终于要出来了转一篇范文12306 可不可以分时放人,而不是分时放票?求推荐代码阅读笔记工具发现一个大牛高盛是干什么的?对于JAVA有一点无论谁都同意。给Java/Spring说几句好话javascript怎么实现多线程some tips about hard disks (for your references)