Overview


Here is a video that accompanies this page is here...

We'll master a few concepts that will allow us to produce simpler code.

Generalization 💡


Let's hike over to the core concepts of abstraction and generalization here....

Okay, after that hike, we should now have a pretty good understanding of concepts including "general".

Reuse


"Reuse" means reusing existing code.

What Is the Best Way to Reuse Code?

The best way to reuse code is by components.

Just think about the world around us. Almost everything we see and even imagine is an assembly of components.

More...
What Is Another Approach to Reuse Code?

Another way to reuse code is by inheritance.

But remember, we look for components first, inheritance second.

More...