Skip to content

An implementation of examples from "Head First Design Patterns", written in C++.

License

Notifications You must be signed in to change notification settings

mrlegowatch/HeadFirstDesignPatternsCpp

Repository files navigation

Head First Design Patterns in C++

This repository contains sample code in C++ based on the book, "Head First Design Patterns", by Freeman & Robson, published by O'Reilly.

The original sample code in Java, which the book's examples are based on, can be found here: https://github.com/bethrobson/Head-First-Design-Patterns.

This code has been developed as part of a Book Club I am running with members of my team.

Each chapter has its own Xcode project and C++ source files that produce a command line executable. Where relevant, comments with IN C++ indicate deviations from the Java sample code, in order to conform to C++ requirements or best practices.

Chapters

  • Strategy Pattern
  • Observer Pattern
  • Decorator Pattern
  • Factory Pattern (under construction)
  • Singleton Pattern (under construction, see branch)
  • Command Pattern
  • Adapter and Facade (not started)

Note: our book club ended before we completed the code for the other chapters, but we hope this was helpful to you.

About

An implementation of examples from "Head First Design Patterns", written in C++.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages