Skip to content

Commit d56c683

Browse files
No resources for Billion Dollar Mistake
1 parent 8f8a8f2 commit d56c683

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,7 @@ Active-Record is the design pattern that promotes objects to include functions s
297297
Data-Mapper is a design pattern that promotes the use of a layer of Mappers that moves data between objects and a database while keeping them independent of each other and the mapper itself. On the contrary, in Active-Record objects directly incorporate operations for persisting themselves to a database, and properties corresponding to the underlying database tables. Do you have an opinion on those patterns? When would you use one instead of the other?
298298

299299
#### Billion Dollar Mistake
300-
Why is it often said that the introduction of `null` is a "billion dollar mistake"? Would you discuss the techniques to avoid it, such as the Null Object Pattern introduced by the GOF book, or Option types?<br/>
301-
[Resources](design-patterns/billion-dollar-mistake.md)
300+
Why is it often said that the introduction of `null` is a "billion dollar mistake"? Would you discuss the techniques to avoid it, such as the Null Object Pattern introduced by the GOF book, or Option types?
302301

303302
#### Inheritance vs Composition
304303
Many state that, in Object-Oriented Programming, composition is often a better option than inheritance. What's you opinion?<br/>

design-patterns/billion-dollar-mistake.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)