Smalltalk Best Practice Patterns Volume 1: Coding - Free
Smalltalk Best Practice Patterns Volume 1: Coding - Free
Smalltalk Best Practice Patterns Volume 1: Coding - Free
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Temporary VariablesTemporary variables let you store and reuse the value of expressions. They can be used to improvethe performance or readability of methods. The following patterns motivate and guide the use oftemporary variables. The examples are taken from <strong>Smalltalk</strong>, but the discussion applies to anylanguage with procedure-scoped variables.<strong>Coding</strong> <strong>Patterns</strong> page 77 of 147 9/30/2006