Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Edited by NavBot

Methods should always try to return a value that allows the developer to learn about the current state of the object and/or the result of an operation. This is consistent with the advice in EXP02 EXP00-J. Do not ignore values returned by methods. The returned value should be as representative of the last known state as far as possible and should be designed keeping in mind the perceptions and mental model of the developer.

...