Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 2.71 KB

README.md

File metadata and controls

29 lines (15 loc) · 2.71 KB

The classic Duck Simulator from "Head First Design Patterns" written in TypeScript

In order to get a better handle of TypeScript, I used it to recreate the classic "Duck Simulator" example in the Head First Design Patterns book. The book example utilizes the Strategy Pattern so that's what I'm doing.

The content in the Design Patterns in TypeScript repo link below already says how to apply TypeScript to the pattern but again, I'm doing this so I can get a better handle on TypeScript. And the best way to get a better handle on code is to actually write it.

Read the related blog post here.

Some links that helped me...

Some tools...

  • Visual Studio Code. You probably won't abandon your current IDE for this, but it's a GREAT tool for developing TypeScript...and learning it.

  • Typings, the TypeScript Definitions Manager. I only used it a little for this project, but I don't see it lasting long.