Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Short-Circuiting with Logical Operators
Message
From
29/10/2014 01:18:33
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
28/10/2014 23:54:57
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01609995
Message ID:
01610065
Views:
34
>>... 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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform