- Learning Functional Programming in Go
- Lex Sheehan
- 48字
- 2025-02-27 05:14:35
Type hierarchy UML
This is the type hierarchy UML that we might have created while designing the Decorator pattern back in the day that we used object-oriented languages:

This is the design work needed to represent the same Decorator pattern using Go:

"Less is exponentially more"
- Rob Pike