SkillAgentSearch skills...

HeadFirstDesignPatternsCpp

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

Install / Use

/learn @mrlegowatch/HeadFirstDesignPatternsCpp
About this skill

Quality Score

0/100

Category

Design

Supported Platforms

Universal

README

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 <code>IN C++</code> 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.

View on GitHub
GitHub Stars72
CategoryDesign
Updated1mo ago
Forks23

Languages

C++

Security Score

100/100

Audited on Feb 10, 2026

No findings