Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Short-Circuiting with Logical Operators
Message
De
29/10/2014 02:01:35
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
29/10/2014 01:18:33
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01609995
Message ID:
01610068
Vues:
31
>>>... should have the result that myAlias is in use or we have a major error - nothing else. I.e. the function should never be called if myalias is already open. Anything that would break these rules would be voted out by about 99% majority of programmers. Don't change the foundation rules, period.
>>
>>Hi Dragan.
>>
>>Lucky with the way boring old VFP is working. It depends on it's left to right working style. Other languages do other things. The working order could be partial unpredictable because of what the compile means to optimize.
>>
>>Again. We all do things like that (me too). But we should remember on such occasions that it is bad style - and why.
>
>Bad style? Because someone may decide that a few milliseconds of run time are worth more than a few hours of programmers' time? Well that decision would be worse than bad style, in whichever compiler it was made.

Thats just the question what the programmer gets paid for. :)
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform