Use headings instead of bold text in index.md #238

This commit is contained in:
Jeroen Meulemeester
2016-01-03 21:14:30 +01:00
parent b6beffec2e
commit 3d642cdad7
66 changed files with 373 additions and 233 deletions

View File

@ -9,7 +9,8 @@ tags:
- Difficulty-Beginner
---
**Intent:** In most object-oriented languages, such as Java or C#, references
## Intent
In most object-oriented languages, such as Java or C#, references
may be null. These references need to be checked to ensure they are not null
before invoking any methods, because methods typically cannot be invoked on
null references. Instead of using a null reference to convey absence of an
@ -20,6 +21,7 @@ Object is very predictable and has no side effects: it does nothing.
![alt text](./etc/null-object.png "Null Object")
**Applicability:** Use the Null Object pattern when
## Applicability
Use the Null Object pattern when
* you want to avoid explicit null checks and keep the algorithm elegant and easy to read.