Naming Fail or Comment Fail?

Names changed to protect the innocent:

/// Adds Sessions which fit in specified date-time range
private void ReadSessions() {

3 comments:

  1. The comments will always lie.

    Of course this doesn't mean that the names will always tell the truth.

    Were I working on this code, I'd remove the comment and adjust the name if that were necessary.

    ReplyDelete
  2. I would suppose the failure lies in what that method really does.

    ReplyDelete
  3. This was actually intended for AgileOtter.com, but I was very tired and clicked the wrong web page. They're both blogspot blogs with identical UIs, and I was confused. Apologies for the non-card post here.

    ReplyDelete

Note: Only a member of this blog may post a comment.