Skip to content

dnovakovic/null-object-pattern-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Demonstrate null object pattern in Typescript. Avoid checking against a null references throughout code base.

Getting Started

In order to demonstrate this pattern just run tests. Each test case will demonstrate benefits of this pattern.

Build and Test

Build is not relevant, only tests. Node is required. Just run:

npm install && npm test

Contribute

Open issue with any suggestion how to improve explanation.

About

Null object pattern in Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published