Mantra

Understand the mantra of refactoring with higher-order components.

We'll cover the following

Mantra: Keep the unit small

As applications grow in size, they grow more difficult for humans to understand as a whole. That’s unavoidable. However, there’s also a tendency for individual parts of the codebase to become more difficult to reconcile with one another, for indirect and implicit connections to be created that go unnoticed until they’re accidentally corrupted, causing bugs. And that tendency is avoidable. You can be vigilant about keeping each module small enough for its purpose to come across clearly. In testing terms: “Keep the unit small.”

Get hands-on with 1400+ tech skills courses.