Software Design: Tidy First?

Tidying: Extract Helper

Kent Beck's avatar
Kent Beck
Mar 01, 2022
∙ Paid

You see a block of code inside a routine that has an obvious purpose & limited interaction with the rest of the code in the routine. Extract it as a helper routine. Name the routine after the purpose (not how the routine works).

The refactoring-aware among you will recognize "Extract Method" in this tidying.

User's avatar

Continue reading this post for free, courtesy of Kent Beck.

Or purchase a paid subscription.
© 2026 Kent Beck · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture