Comparison of Solutions |
It is easy to forget one of the instructions, in which case the whole program would either lead to an error shutoff or to an unexpected intent error. However, it would be difficult to find the missing (or superfluous) instruction. It is hard to debug.
If, say, another row of beepers grows overnight, this program would need a whole slew of new instructions. It is difficult to extend.
If one of the instructions does not work, we can concentrate on fixing it. Once it is fixed, it will continue to work correctly at every point where it is used. Therefore, the program is easy to debug.
If, say, another pair of rows of beepers grows overnight, this program could very easily be modified. Just add a couple of lines and those rows will be harvested as well. It is easy to extend.