Polski

Structural patterns

Composite

Lets clients treat a single element and a whole tree of elements in exactly the same way.

Article

Composite – trees in which a leaf and a branch look the same

Composite lets you treat a single object and a whole group of objects in exactly the same way. A course curriculum example with modules and lessons in C#, TypeScript, Java, Go and Python.

Related articles

Challenges

Around the topic

In this group: Structural patterns