Versions Compared

Key

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

...

As shown in this noncompliant code example, a method modifies a node if it can find it in a linked list and does nothing if the node is not in the list. But this method gives no indication of fails to indicate whether it modified any node. A method can silently corrupt the state of the object if it provides little communication describing what it did.

...