For small programs, where it would be a question of a few days or a few weeks to rewrite them, it
will generally not be worth pondering this question for very long, and in most cases it will be
better to just get started on either fixing the existing implementation or on rewriting it. For
small programs it is possible for one person to keep all of their state, and their logic, and their
invariants in their head, but for big programs this does not work.