in reply to Basic Coding Tips: Parsimonious Parameterization
Superfluous 'Status Flags
I cannot tell you how many times I have encountered this issue. And not only does it complicate things from the user side (as you described), I have found it many times makes code totally unreadable. You example shows only one flag, but I have dealt with code and database tables which had 5 or more flags. The justification is usually that it "speeds things up", but this is a classic case of premature optimization.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Basic Coding Tips: Parsimonious Parameterization
by Anonymous Monk on Feb 09, 2005 at 03:13 UTC | |
by Aristotle (Chancellor) on Feb 19, 2005 at 01:52 UTC |