4 ms·
Avoid special cases. Thats a good idea, unfortunately it's not quite possible if you have to adjust code to changing requirements over a long time...
by MichaelMoser123 10y ago
Avoid special cases. Thats a good idea, unfortunately it's not quite possible if you have to adjust code to changing requirements over a long time...
- AstralStorm 10y agoIt should be rephrased as: design so that many cases can be handled, thus reducing number of special cases. They cannot be avoided, but their impact can be reduced. If you end up drowning in them, it means the design is broken and needs to be rethought.