Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A=b therefore b=a Rushmore? You're a crappy coder
Message
From
19/06/2021 11:24:15
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
A=b therefore b=a Rushmore? You're a crappy coder
Miscellaneous
Thread ID:
01681413
Message ID:
01681413
Views:
64
I went to work for a member of my Toronto FoxPro User Group. Another crappy code that thinks he's a genius.

He asked me why one of his routines was slow. I pointed out innocently and with a willingness to be helpful that Rushmore uses the expression on the left to decide what indexes to use. He said I was wrong. A=B and B=A so therefore Rushmore must optimize the expression whether it was written as LOCATE FOR Upper(fieldname) = "washout walter" or LOCATE FOR "washout walter" = UPPER(fieldname). When I proved it by the manual and by scientific demonstration, he, like our stupidest members got mad at me. Idiots just gotta idiot.
Next
Reply
Map
View

Click here to load this message in the networking platform