At 11:06 2017-02-21, "Fernando D. Bozzo" fdbozzo@gmail.com wrote:
2017-02-21 19:26 GMT+01:00 Gene Wirchenko genew@telus.net:
At 06:36 2017-02-21, "Fernando D. Bozzo" fdbozzo@gmail.com wrote:
The only adventage of using VCXs over PRGs is that:
- Descriptions of the methods and properties are shown by intellisense
when you scroll them while using an instantiated class, which is not possible with PRGs, except PRG-COM classes instantiated from the registered Windows object.
No loss for me. IMHO, Intellisense is too close to copy-paste. Itis too easy to get something that looks reasonable yet might not be right. If you are not sure, look it up.
You compare Intellisense with copy-paste?? o_O
Yes.
About always looking at the code.... yes, you can continue programming like at the beginning of the pre-PC era, but now TV is in color, do you know?...
I would like to compliment you on your excellent manners. Please show some so that I might do so.
I mean, productive tools are exactly for that: to be more productive with less effort, so if you carefully name methods and set usefull tooltips for intellisense, the idea is that you are more productive because you don't need to look at the code.
Yes, that is what they are for. So do they do the job? Some people have been caught by Intellisense with set path to to They type a "to", and Intellisense also adds one in.
Too many automatic tools screw things up, and they often do it in a way that a person would not so you do not know what to look for. I once had my resume messed up by Word. I was in a hurry and did not turn off auto-correct (What a misnomer!) Word "corrected" my E-mail address for me. I just happened to see a flash and discovered it. If I had not seen the flash, my application would have gone out with an incorrect E-mail address.
Since I program, I do look at the code.
How do you program and know what parameters are needed t pass to a method?
If I do not know, I look it up. My procedures tend to have a description of each parameter and what the method does.
with intellisense off? That's just throwing many years of usabillity and tooling for the sake of being sure...
Sure. I value being sure that I got something right. Anything getting in the way of that is anti-usability.
[snip]
I code almost only with .prg files (so I do not know what most of theabove means). The only exception was setting printer orientation for which I had to create two .frt files.
I can understand it with classes, but what do you do with forms, labels, reports, menus, ...?
I create them in code.
I do not know what most of the above means
Well, I'm talking about PRGs, so If you use them then should know what is a Session class, a batch replace a COM object and a merge...
I do not use them. I coded the app before that got added.
Sincerely,
Gene Wirchenko