Re: Why is Hungarian Notation Considered Evil?
From: Robert C. Martin (unclebob_at_objectmentor.com)
Date: Sun, 06 Jun 2004 16:34:24 -0500
On Sun, 6 Jun 2004 07:08:05 -0400, "Daniel Parker"
>"Robert C. Martin" <firstname.lastname@example.org> wrote in message
>> On 4 Jun 2004 07:23:27 -0700, email@example.com (Daniel
>> Parker) wrote:
>> >Incidentally, if there is a difference between the specification of a
>> >function, perhaps expressed in Javadoc comments, and the
>> >implementation, which is the lie?
>> If the comment does not actually describe the code, then the comment
>> is a lie.
>What if the comment describes the intent of the code, say that the code is
>re-entrant, but the code does not match the intent?
Then the comments are lies.
Robert C. Martin (Uncle Bob)
Object Mentor Inc.
unclebob @ objectmentor . com
"The aim of science is not to open the door to infinite wisdom,
but to set a limit to infinite error."
-- Bertolt Brecht, Life of Galileo