Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MESSAGEBOX
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00365597
Message ID:
00366197
Views:
17
>One of my hang-ups is the spacing. I got spoiled by the QuickBASIC editor which would take a=b+c and make it a = b + c. The same would be applied to x=MyFunc(parm1,parm2) and it would become x = MyFunc(parm1, parm2). The insertion of the spaces is carried over into the VB editor and I hope that we can look forward to VFP doing the same in the next version. Additionally, indentation is supposed to indicate the sub-ordination of a code block, either logical or iterative. So my individual CASE var = statements have the code below indented.

Amen. What is it with programmers and not using spaces? It makes reading the code a lot easier.

>As I said earlier, in my usage I don't really care what the value is. I care more about what it represents. To me, they represent abstractions of values, and which may change in the future, not values themselves.

Sure, but when you're debugging you never quite know where the source of your problems may be. For example, if you're running a loop that checks some incrementing variable against a constant to decide when to exit, it might be really important to know the value of the constant so that you're sure the loop will exit at some point. If your variable is never going to be >= constant you might have a problem.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform