finds.dev← search

// the find

youngyangyang04/kama-DesignPattern

★ 867 · updated Jul 2025

卡码网-23种设计模式精讲,每种设计模式都配套代码练习题,支持 Java,CPP,Python,Go🔥

A Chinese-language walkthrough of all 23 Gang of Four design patterns, structured as a coding exercise course tied to the kamacoder.com practice platform. Each pattern gets its own markdown file with explanation, diagrams, and code examples in Java, C++, Python, and Go. It's aimed at developers who know the pattern names but haven't internalized when or why to use them.

Four-language coverage (Java, C++, Python, Go) in a single repo means most readers can read the examples in their native language rather than mentally translating. The exercise-first framing — treating each pattern like a coding problem to solve — is more active than most GoF tutorials that just show you finished code. The sequencing is deliberate: creational patterns before structural before behavioral, with simpler, higher-use patterns (Singleton, Factory) before the obscure ones (Interpreter, Visitor). Active maintenance, last pushed July 2025.

Everything is in Chinese with no English content at all, so this is a non-starter for most non-Chinese readers. The practice problems live on an external site (kamacoder.com), so the repo alone is incomplete — you need an account there to get the actual exercises, which may not stay free. No unit tests or runnable project structure; the code samples are scattered across markdown files rather than a buildable codebase you can actually run and modify. At 867 stars it has modest traction, suggesting it hasn't broken out beyond the kamacoder community.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →