# FengJungle/DesignPattern

Design pattern demo code

Repository: https://github.com/FengJungle/DesignPattern
Canonical: https://ross.abutalabs.com/products/fengjungle-designpattern
Language: C++
License Family: other
Topics: designpattern, design-patterns, cpp, cpp11
Last push: 2024-04-17T07:27:17+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2512, "days_push": 868, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1107, forks 276 (observed 2026-08-28T04:03:36.729893+00:00)

## What it is
A collection of C++11 demo code implementing all 23 classic GoF design patterns, accompanied by Chinese-language tutorial notes and blog posts. It is an educational resource for learning object-oriented design principles and design patterns in C++.

## Use cases
- learn design patterns in c++
- study singleton factory observer pattern examples
- prepare for c++ design pattern interview questions
- see uml class diagrams with matching code
- understand object-oriented design principles

## When to choose
- you want runnable C++11 examples for each GoF pattern
- you are preparing for design pattern interviews in C++
- you prefer tutorials paired with blog explanations

## When to avoid
- you need a production-ready pattern library to link into your project
- you need non-C++ languages
- you need a maintained, licensed codebase for commercial use

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, documentation
- domain: tutorials, programming-languages, developer-tools
- platform: cpp, windows, cross-platform
- tags: design-patterns, cpp11, educational, uml, object-oriented-design, demo-code, linux

## Member repositories
- FengJungle/DesignPattern (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:36.729893+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:44:00.581431+00:00, confidence not recorded.
  - readme: https://github.com/FengJungle/DesignPattern (fetched 2026-08-28T04:03:36.729893+00:00, sha 7163d75b656a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
