Software Design: Tidy First?

Share this post

User's avatar
Software Design: Tidy First?
Explicit Parameters

Explicit Parameters

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

Share this post

User's avatar
Software Design: Tidy First?
Explicit Parameters
9
Share

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.

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Kent Beck
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share