Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GLGDW 2006 - April 21-24, Milwaukee
Message
 
 
To
18/01/2006 14:26:28
General information
Forum:
Visual FoxPro
Category:
Conferences & events
Miscellaneous
Thread ID:
01078694
Message ID:
01088153
Views:
42
>Quite frankly, I hadn't considered either of these points. My questions about "what harm does it cause" seem to have been answered and I may (shudder) actually have to change my mind.

Having standards is great when they serve a purpose. <g> Not so great when it's mostly voodoo or "because that's the way I like it". (This is a hot button for me.)

Just last week, I sent email to our dev staff nagging them about not following our own internal _documented_ coding standards. We put out a new release that promptly blew up at a customer's site because of it.

The standard is a simple one:

* All variables will be explicitly declared (scoped)
* All variables will be initialized with a plausibly correct value (setting type) before use

Had these two rules been followed, our customer would not have seen a crash.

Safer code is, IMO, a good reason for standards. Not "I think it's clearer". ;-)

JOMO

Dan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform