日本語版
Design Patterns Guide
Design patterns are reusable wisdom in software design. This skill systematically covers everything about design patterns, from GoF patterns, architectural patterns, and functional patterns to modern implementations in JavaScript/TypeScript.
Target Audience
- Engineers who want to systematically learn design patterns
- Anyone looking to improve code quality and maintainability
- Those who want to make well-grounded design decisions
Prerequisites
- Fundamentals of object-oriented programming
- Basic knowledge of TypeScript
Learning Guide
00-creational — Creational Patterns
01-structural — Structural Patterns
02-behavioral — Behavioral Patterns
03-architectural — Architectural Patterns
04-functional — Functional Patterns
Quick Reference
Pattern Selection Guide:
Object creation → Factory / Builder / DI
Interface adapting → Adapter / Facade
State management → Observer / State / Redux
Algorithm switching → Strategy
Async processing → Promise / Observable
Error handling → Result type / Chain of Responsibility
References
- Gamma, E. et al. "Design Patterns." Addison-Wesley, 1994.
- Freeman, E. "Head First Design Patterns." O'Reilly, 2020.
- Addy Osmani. "Learning JavaScript Design Patterns." O'Reilly, 2023.