Skip to content

Commit 6e56f3d

Browse files
committed
Mark progress of book reading
1 parent 92279ba commit 6e56f3d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

refactoring/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ refactoring/create_notes.rb
2020
- [x] Chapter 08. Organizing Data
2121
- [x] Chapter 09. Simplifying Conditional Expressions
2222
- [x] Chapter 10. Making Method Calls Simpler
23-
- [ ] Chapter 11. Dealing with Generalization
23+
- [x] Chapter 11. Dealing with Generalization
2424
- [ ] Chapter 12. Big Refactorings
2525
- [ ] Chapter 13. Putting It All Together
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
You have an inheritance hierarchy, but never intend to explicitly instantiate an instance of the superclass.
22

33
*Replace the superclass with a module to better communicate your intention.*
4+
5+
+ **Writing intentional code is important**, and it would be nice if we could communicate that instances of our abstract superclass are not meant to be instantiated directly.
6+
7+
+ the `inherited` hook

0 commit comments

Comments
 (0)