1
Kymair Nov 15, 2012
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 Nov 16, 2012
想起 Joe Armstrong 某次访谈说过他认为 OO 的核心概念是 messaging、isolation 和 polymorphism,而 object 和 class 并不是关键。
|
3
lldong Nov 17, 2012
@soulhacker Alan Kay在这封邮件中也强调 The big idea is messaging http://c2.com/cgi/wiki?AlanKayOnMessaging
|
4
reus Nov 17, 2012
所以golang就没有继承,只有embedded struct
|
5
humiaozuzu Nov 17, 2012 OOP Isn't a Fundamental Particle of Computing http://prog21.dadgum.com/156.html
|