Composite
Key points
The key point is to have a trait to represent both, simple and composed structs.
Clients should ignore the difference between compositions and individual objects.
Avoid case statements to specify individual treatment to every struct, ma...
blog.cavalcante.eti.br5 min read