Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intellisense in WITH ... ENDWITH
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01550535
Message ID:
01550660
Views:
56
>That is actually the reason I abandoned using WITH alltogether. I realized it is making the code more unclear to read (especially when you have more than 20 lines of code, or, worse, when you put different WITH's in the same code). Most other languages don't have that WITH either, I know if from VBA, but it is absent from C# and Java for instance (afaik). It appears to me as some kind of relic of older days, something that seemed to be a good idea back then. But then again, when it was introduced there was no intellisense at all.


Actually I think it is present in C# and Java, albeit in a different context, much worse in my opinion: Using and Import.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform