Re: Comments
From: Loren Pechtel (lorenpechtel_at_removethis.hotmail.com)
Date: 06/24/04
- Next message: Dennis Landi: "Re: Delphi Performace Comparison"
- Previous message: Wayne Niddery [TeamB]: "Re: Delphi Performace Comparison"
- In reply to: Graham Stratford: "Re: Comments"
- Next in thread: K. Sallee: "Re: Comments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Dennis Landi: "Re: Delphi Performace Comparison"
- Previous message: Wayne Niddery [TeamB]: "Re: Delphi Performace Comparison"
- In reply to: Graham Stratford: "Re: Comments"
- Next in thread: K. Sallee: "Re: Comments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]