Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is something wrong with this SEEK?
Message
De
27/12/2006 15:57:13
 
 
À
27/12/2006 14:57:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01180555
Message ID:
01180591
Vues:
17
>Hello all.
>One of my co-worker saw one of my SEEK() statement and made a "big" deal that I shouldn't do it this way, but he wouldn't say why except to say that "it's not our standard"...
>
>What is wrong With
>
>IF SEEK(MyValue, "MyTable", "MyIndexTag")
>   ...
>ENDIF
>
>?
>
>Is there a reason why I should use this?

I use this syntax all time when writing my own code.

OTOH, standards are there for a purpose (how many posts here include a statement such as "You shouldn't do it that way, it violates the (ANSI/Windows/xxx) standard"?).

Even if it's inferior, I'd probably just curse a bit (under my breath of course) and adjust my coding style to meet the "standard." It usually cost far more to fight the standard (or try to change it), than to simply comply with it.

Of course, an explanation of "it's not our standard" is incomplete without an explanation of what the standard actually is. I'd be curious as to how your co-worker wanted you to modify the code.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform