Codele / Advanced programming

Composition: has-a instead of is-a

Family trees of classes get tangled fast. Often it is simpler to build an object out of small parts that you plug in and swap.

Loading the playable lesson…