Next | Program Repair Shop | 225 |
Making two (or seven) passes over an input is a red flag
Like other red flags, it's not Wrong Wrong Wrong
It's just a sign that you should stop and reflect a little
"Do I really need two passes?"
"Or could I do both transformations in one pass?"
If so, this often leads to simpler and smaller code
And usually to more efficient code
Next | Copyright © 2002 M. J. Dominus |