V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
siw
V2EX  ›  程序员

Rob Pike on Object Oriented programming

  •  
  •   siw · Nov 15, 2012 · 4508 views
    This topic created in 4924 days ago, the information mentioned may be changed or developed.
    5 replies    1970-01-01 08:00:00 +08:00
    Kymair
        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
    是我很喜欢的两篇相关讨论
    soulhacker
        2
    soulhacker  
       Nov 16, 2012
    想起 Joe Armstrong 某次访谈说过他认为 OO 的核心概念是 messaging、isolation 和 polymorphism,而 object 和 class 并不是关键。
    lldong
        3
    lldong  
       Nov 17, 2012
    @soulhacker Alan Kay在这封邮件中也强调 The big idea is messaging http://c2.com/cgi/wiki?AlanKayOnMessaging
    reus
        4
    reus  
       Nov 17, 2012
    所以golang就没有继承,只有embedded struct
    humiaozuzu
        5
    humiaozuzu  
       Nov 17, 2012   ❤️ 1
    OOP Isn't a Fundamental Particle of Computing http://prog21.dadgum.com/156.html
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3033 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 04:50 · PVG 12:50 · LAX 21:50 · JFK 00:50
    ♥ Do have faith in what you're doing.