Next | Program Repair Shop | 3 |
A red flag is a visible sign in the code that something might be suboptimal
Notice: might be
Notice: suboptimal, not wrong
It is not a sure sign that something is wrong
NOT NOT NOT NOT
Instead, it's a sign that you should pause and reflect
Ask, "is this really written in the best way?"
Try to write it a different way (or two, or three)
Compare and evaluate
Decide
And then perhaps replace the code with a different version
Next | Copyright © 2006 M. J. Dominus |