Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Microsoft launches new open source codeplex foundation
Message
De
29/09/2009 00:49:19
 
 
À
28/09/2009 21:51:22
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01424841
Message ID:
01426588
Vues:
65
>>Over the years I've seen maybe half-a-dozen cases, in other peoples' code, where the programmer carelessly used different cases when referring to the same variable or other symbol name in a case-insensitive language. The code was always sloppy, so now it's a real "Danger, Will Robinson!" signal to me.
>>
>>In the final analysis, I prefer to use autocomplete/IntelliSense-like features of the IDE, or just copy/paste of variable and symbol names rather than typing them every time (error-prone), so case sensitivity doesn't really matter to me. If you code like your language is case-sensitive, even if it isn't, you never get burned.
>
>OK, self test for everyone on this thread: when you type in command window, how do you type something that's otherwise camelcase? Say, you have your code stopped in the debugger, and you want to type a name of a variable. How do you type?

I can't recall ever doing that exact operation, but I created a little test program:
lcSomeVariable = "123"
SET STEP ON
I have my mousewheel button reprogrammed to be a double-click, so I:
- wheel-click on the variable name in the debugger
- Ctrl-C to copy
- click on the Command Window to give it focus
- Ctrl-V to paste
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform