Free Preview: Object-Oriented Design and Refactoring Patterns in Ruby

Inheritance

11:15

Inheritance

Inheritance allows you to establish relationships between similar classes. In this lesson, we learn how to extract common traits and behaviors into a base class and then extend/keep other unique behaviors by creating separate subclasses.

1.Introduction
1 lesson, 05:05

Free Preview
1.1
Introduction
05:05

2.Principles of Object Oriented Design
5 lessons, 39:29

Free Preview
2.1
Inheritance
11:15

2.2
Encapsulation
07:56

2.3
Polymorphism
06:59

2.4
Duck Typing
03:39

2.5
Code Smells
09:40

3.Refactoring Patterns
17 lessons, 1:35:41

3.1
Extract Method
06:23

3.2
Extract Class
09:30

3.3
Pull Up Method
03:17

3.4
Rename Method
02:37

3.5
Move Field
05:31

3.6
Form Template Method
04:05

3.7
Parameterize Method
05:06

3.8
Separate Query from Modifier
05:30

3.9
Hide Delegate
04:29

3.10
Introduce Assertion
05:42

3.11
Introduce Null Object
05:47

3.12
Replace Array with Object
04:56

3.13
Replace Method with Method Object
08:31

3.14
Replace Temp with Query
03:25

3.15
Replace Type Code with Polymorphism
07:57

3.16
Replace Type Code with Modules
03:44

3.17
Replace Type with State/Strategy
09:11

4.Conclusion
1 lesson, 04:05

4.1
Final Tips
04:05


About José Mota
I'm a Rubyist/Javascripter/UI designer; occasional speaker; Mac & Arch Linux user.
+ Expand Bio- Collapse Bio