docs: add diagrams for spatial partition, special case, specification, state, step builder, strangler, strategy, subclass sandbox

This commit is contained in:
Ilkka Seppälä
2025-04-10 21:13:17 +03:00
parent 8e823909da
commit cd224ea5fe
16 changed files with 32 additions and 4 deletions
+4
View File
@@ -34,6 +34,10 @@ Wikipedia says
> In computer programming, the strategy pattern (also known as the policy pattern) is a behavioral software design pattern that enables selecting an algorithm at runtime.
Flowchart
![Strategy flowchart](./etc/strategy-flowchart.png)
## Programmatic Example of Strategy Pattern in Java
Slaying dragons is a dangerous job. With experience, it becomes easier. Veteran dragonslayers have developed different fighting strategies against different types of dragons.
Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB