1
Kymair 2012 年 11 月 15 日
OO的确有很严重的缺陷,现在学了Clojure等FP之后回过头去看的确这么感觉。Disclaimer: 当然FP也不是什么都好。
Erlang作者Joe Armstrong: Why OO Sucks http://news.ycombinator.com/item?id=4245737 Clojure作者Rich Hickey: Are We There Yet http://www.infoq.com/presentations/Are-We-There-Yet-Rich-Hickey 是我很喜欢的两篇相关讨论 |
2
soulhacker 2012 年 11 月 16 日
想起 Joe Armstrong 某次访谈说过他认为 OO 的核心概念是 messaging、isolation 和 polymorphism,而 object 和 class 并不是关键。
|
3
lldong 2012 年 11 月 17 日
@soulhacker Alan Kay在这封邮件中也强调 The big idea is messaging http://c2.com/cgi/wiki?AlanKayOnMessaging
|
4
reus 2012 年 11 月 17 日
所以golang就没有继承,只有embedded struct
|
5
humiaozuzu 2012 年 11 月 17 日 OOP Isn't a Fundamental Particle of Computing http://prog21.dadgum.com/156.html
|