Software Design: Tidy First?

Share this post

User's avatar
Software Design: Tidy First?
Explaining Variable

Explaining Variable

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

Share this post

User's avatar
Software Design: Tidy First?
Explaining Variable
6
Share

Some expressions grow. Even if they start small they grow. And they grow & they grow (we'll talk about how this happens when we discuss preferential attachment). And then along you come with your reading glasses on & you try to understand what's happening.

When you understand a part of a big, hairy expression, extract the sub-expression into a variable named after the intention of the expression.

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