Software Design: Tidy First?

Explicit Parameters

Kent Beck's avatar
Kent Beck
Feb 16, 2022
∙ Paid

So you're reading some code you want to change & you notice that some of the data it works on wasn't passed explicitly to the routine. How do you make the inputs clear?

Split the routine. The top part gathers the parameters and passes them explicitly to the second part.

User's avatar

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

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