Skip to content

Commit a22d1d9

Browse files
Merge pull request ryanmcdermott#32 from acparas/master
Fix semantic mistake
2 parents 11b7271 + fa5f27d commit a22d1d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,7 @@ let car = new Car()
15791579
**[⬆ back to top](#table-of-contents)**
15801580

15811581
### Prefer composition over inheritance
1582-
As stated famously in the [Gang of Four](https://en.wikipedia.org/wiki/Design_Patterns),
1582+
As stated famously in [*Design Patterns*](https://en.wikipedia.org/wiki/Design_Patterns) by the Gang of Four,
15831583
you should prefer composition over inheritance where you can. There are lots of
15841584
good reasons to use inheritance and lots of good reasons to use composition.
15851585
The main point for this maxim is that if your mind instinctively goes for

0 commit comments

Comments
 (0)