Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MSC07-EX1: In some situations, dead code may make software more robust against future changes. An example of this is adding a default case to a switch statement even when all possible switch labels are specified (see MSC01-A. Strive for logical completeness for an illustration of this example).  Another example is

MSC07-EX2: It is also permissible to temporarily removing code that may be needed later (see MSC04-A. Use comments consistently and in a readable fashion for an illustration).

...