首页 > TAG信息列表 > PartC
Programming Languages PartC Week1学习笔记——Ruby与面向对象编程
@目录Introduction to RubyClasses and ObjectsObject StateVisibilityA Longer ExampleEverything is an ObjectClass Definitions are DynamicDuck TypingArraysBlocksUsing BlocksProcsHashes and Ranges(1)Hash(2)RangeSubclassingWhy Use Subclassing?Overriding and DynamProgramming Languages PartC Week2学习笔记——OOP(面向对象) vs FD(函数式)
@目录OOP Versus Functional DecompositionAdding Operations or VariantsBinary Methods with Functional DecompositionDouble DispatchOptional: MultimethodsMultiple InheritanceMixinsInterfacesOptional: Abstract Methods OOP Versus Functional Decomposition 面向对象与