Your design patterns knowledge base
A curated knowledge base to understand, apply, and master design patterns across software, cloud, AI, DevOps, and architecture.
Software patterns
View all →Composition over inheritance
Build behavior by assembling small collaborators rather than extending class hierarchies
4S prompting
Single, Specific, Short, Surround — four rules for prompts that yield precise AI coding suggestions
Test-driven development
Write a failing test first, make it pass with the minimum code, then refactor — repeat
Inversion of control
Hand control of program flow to a framework or container so that components become pluggable
Cloud
View all →Composition over inheritance
Build behavior by assembling small collaborators rather than extending class hierarchies
4S prompting
Single, Specific, Short, Surround — four rules for prompts that yield precise AI coding suggestions
Test-driven development
Write a failing test first, make it pass with the minimum code, then refactor — repeat
Inversion of control
Hand control of program flow to a framework or container so that components become pluggable
AI
View all →Composition over inheritance
Build behavior by assembling small collaborators rather than extending class hierarchies
4S prompting
Single, Specific, Short, Surround — four rules for prompts that yield precise AI coding suggestions
Test-driven development
Write a failing test first, make it pass with the minimum code, then refactor — repeat
Inversion of control
Hand control of program flow to a framework or container so that components become pluggable
DevOps
View all →Composition over inheritance
Build behavior by assembling small collaborators rather than extending class hierarchies
4S prompting
Single, Specific, Short, Surround — four rules for prompts that yield precise AI coding suggestions
Test-driven development
Write a failing test first, make it pass with the minimum code, then refactor — repeat
Inversion of control
Hand control of program flow to a framework or container so that components become pluggable
Architecture
View all →Composition over inheritance
Build behavior by assembling small collaborators rather than extending class hierarchies
4S prompting
Single, Specific, Short, Surround — four rules for prompts that yield precise AI coding suggestions
Test-driven development
Write a failing test first, make it pass with the minimum code, then refactor — repeat
Inversion of control
Hand control of program flow to a framework or container so that components become pluggable
Principles
View all →Composition over inheritance
Build behavior by assembling small collaborators rather than extending class hierarchies
4S prompting
Single, Specific, Short, Surround — four rules for prompts that yield precise AI coding suggestions
Test-driven development
Write a failing test first, make it pass with the minimum code, then refactor — repeat
Inversion of control
Hand control of program flow to a framework or container so that components become pluggable
Practices
View all →Composition over inheritance
Build behavior by assembling small collaborators rather than extending class hierarchies
4S prompting
Single, Specific, Short, Surround — four rules for prompts that yield precise AI coding suggestions
Test-driven development
Write a failing test first, make it pass with the minimum code, then refactor — repeat
Inversion of control
Hand control of program flow to a framework or container so that components become pluggable
Miscellaneous
View all →Composition over inheritance
Build behavior by assembling small collaborators rather than extending class hierarchies
4S prompting
Single, Specific, Short, Surround — four rules for prompts that yield precise AI coding suggestions
Test-driven development
Write a failing test first, make it pass with the minimum code, then refactor — repeat
Inversion of control
Hand control of program flow to a framework or container so that components become pluggable