引言
以下内容摘自網友@BYVoid的一條微網誌
面向對象的五個真正特點是:抽象、子類型、繼承、開放遞歸和動態消息處理,而不是所謂的繼承、多態、封裝。
何為開放遞歸?
Open recursion: an object’s methods can invoke another method in the same object using a special variable (often called self). These method calls use dynamic lookup, allowing a method defined in one object to invoke methods defined in another object that in- herits
參考資料
用星際争霸講解面向對象的概念