[OOL]part 7: 基本概念

純面嚮對象語言: Ruby 1.純面嚮對象語言:所有的值都是對象 2.class-based: 對象都是類的實例 3.mixin 4.dynamically typed 5.reflection 6.有blocks和closures 7.是scripting language: 寫小程序,性能相對差 duck typing: If it walks like a duck and quacks l
相關文章
相關標籤/搜索