At 11:11 AM 5/1/2007, you wrote:

> > That is absolutely and patently incorrect for proper maintenance of
> > code -- putting the declarations of variables as close as possible to
> > their use is one of the basic tenets of good software design.  If you
> > can scope the variables inside of a block so that they aren't
> > available outside of the scope of the block is even better.
>
>That is your opinion and not necessarily a tenet of good software
>design.
>
>Reading code is similar to reading a book. If you bury your DIM
>statements, you make it harder to read. Knowing where your

....

Excellent response, Brandon.

Although I don't agree with it absolutely, I do think a person can 
spread their Dim's and be OK, as long as their mind tracks it naturally.

I think TOC analogy is excellent. One spot for one purpose, top of 
function for Dim (allocating), rest of code for execution.

I am sort of surprised, though, that "declare close to use" is really 
across the board supposed to be a tenet. Rarely do I see a 
disagreement, except here. But strangely, I do agree with Brandon et 
al. That from my personal use - naturally I steered away from it, in 
a very intentional sense.

* * * * * * * * * * * * * * * * * * * * * * * * * * *
| Garth Hjelte                                      |
| Customer Service Representative, President        |
| Chicken Systems, Inc, Rubber Chicken Software Co. |
| 714 5th Street SE                                 |
| Willmar, MN 56201 USA                             |
|                                                   |
| 800-8-PRO-EPS    Toll Free Order Line (US Only)   |
| 320-235-9798     Tech Support, Sampler Questions  |
|                  International Line               |
| 360-838-7689     Fax                              |
| Product Sales:   [EMAIL PROTECTED]             |
| Product Support: [EMAIL PROTECTED]           |
| Sampler Q+A:     [EMAIL PROTECTED]                |
| Web Page:        www.chickensys.com               |
* * * * * * * * * * * * * * * * * * * * * * * * * * *

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to