The real cost of introducing a quick fix is ​​that when someone else needs to introduce a second quick fix, they will present it based on your own quick fix. So, the longer the fast fixation in place, the more entrenched it will become. Quite often, a hack takes a little longer than doing everything right until you come across a second hack that is based on the first.
Thus, it is obvious that it (or it seems) is sometimes necessary to introduce a quick fix.
One possible solution, assuming your version control supports it, is to insert the plug from the source whenever you do such a hack. If people are advised to avoid coding new functions in these special “do it” forms, then in the end it will be more work to integrate new functions with a plug than it will to get rid of hacking. Most likely, however, the “good” plug will be discarded. And if you are far enough from the release that creating such a plug will not be practical (because it is not worth doing the double integration mentioned above), then you probably should not even use a hack.
Very idealistic approach.
A more realistic solution is to keep your program segmented by as many orthogonal components as possible and sometimes do a complete remake of some components.
The best question is why the hacker solution is bad. If this is bad because it reduces flexibility, ignore it until you need flexibility. If this is bad, because it affects the behavior of the programs, ignores it and will ultimately become a correction error and will be considered. If this is bad because it looks ugly, ignore it if the localization is localized.
Brian Oct 03 '08 at 22:27 2008-10-03 22:27
source share