Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which Is More Readable To You?
Message
From
05/03/2008 11:00:14
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
05/03/2008 10:51:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01298471
Message ID:
01298932
Views:
30
This thread is deteriorating into non-technical matters. The color you prefer for your socks is the same as the preference for tabs/spaces/indenting. There is some value in some indenting, but good things can be carried too far, especially by those with "authority". There should be guidelines, not laws. What happens when the original programmer leaves. Now his personal preferences stay in effect? That's nuts. Thankfully I don't enforce my "style" on anybody.


>>Beautify is your friend!
>
>Yes, it is, until you work for someone who wants the ending commands to be indented. For example
>
>
>do while somecondition
>     if thiscondition
>          process this
>     else
>          process that
>          endif
>     command
>     command
>     select data
>     scan
>          if anothercondition
>               process thisstuff
>               endif
>          endscan
>     enddo
>another condition
>
>
>
>also had the habit of having Case statements do things.....as in
>
>
>do case
>     case !seek('key','file')
>          (commands)
>     case file.field = value
>          (commands)
>     endcase
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform