Re: Comments

From: Loren Pechtel (lorenpechtel_at_removethis.hotmail.com)
Date: 06/24/04


Date: Thu, 24 Jun 2004 08:43:28 -0700

On Thu, 24 Jun 2004 09:46:29 -0400, Graham Stratford
<gstratford@das.ca> wrote:

>Also, every time I put in a comment, I try to think whether the code
>wouldn't be better served with a function/procedure that accomplishes
>the same goal. For example:
>
>// Check to see if the user has permission
>... my code here ...
>
>might be easier to understand and maintain if it were put into a
>function called
>
>function TMyObject.CheckUserPermission();

           I never thought of it that way before but I tend to do this
also.