Also talk about Delphi VS VC ++

zhaozj2021-02-08  225

Haha, recently seems to have more posts about VC and Delphi comparison.

I saw Sundyl's post, some words did not spit.

>> "..." Delphi's programmer is different, they should be a huge convenience of VCL, it is mainly used to use controls ... "

Sundyl you may not know 2 simple facts:

1) 99% of the control (VCL) is Delphi programmer, not Borland provided

I even critically believes: Write control is a basic function, not writing controls, don't go to Delphi programmer :-)

Although, this will be a batch of people who think that it is Delphi programmer.

2) VCL and Delphi have no logic necessarily, it is a collection of advanced ideas, C still uses, CBuilder is example.

In fact, Sundyl takes the programmer using VC and Delphi, is unfair competition ~~~

Because historical factors VC programmers have high average quality.

The correct approach should be:

Two programmers with the same basic quality, learn VC and Delphi, and finally compare their programming capabilities.

However, I have never done such an experiment, I can't tell my imagination, how can I * _ *

But I will take me: I am Basic, C / C , and then learn Delphi / Pascal.

After using Delphi, many people may have my feelings:

I feel that I can do something that I can't do before, and I use the time saved.

I learned more things, even in turn deepened my understanding of C .

In fact, most Delphi programmers were originally C / C / Basic programmers.

Take "multiple inheritance", "macro". "{}", " " syntax comparisons to evaluate the advantages and disadvantages is a lack of open mentality

It is necessary to discuss the advanced syntax, the example in Object Pascal is much more, and you can stick to hand.

In fact, there are multiple inheritances in Object Pascal (see you can see in the new ActiveForm object)

But strictly restrict its use. Reason, I don't say everyone know.

This is not to introduce "macro". (Strictly speaking, the Inline assemlber function in Delphi has a macro,

This extension is not the basic syntax of the Object Pascal, and non-master will not need to be embedded directly. ^)

It can be said that Object Pascal has been absorbing the essence of C / C , but not all. :-)

As early as Turbo Pascal 5.0, it is absorbed from C, Continue

Before the BC, you will take the lead in supporting the complete OOP syntax, as well as IDE, the c only the command line.

There is also a relatively radish cabbage, and it is more radish cabbage.

I hope that Sundyl looks at Delphi in an open mind.

About "{}" and "begin end", at least I think the Delphi program is a program language that can communicate with the mouth (there are not many, similar to SQL).

What do you mean? Try to read a C-source code next to your colleagues (including symbols).

(I have put a Delphi program to TTS (full voice), wow, it's too cool ~~)

Incident, I also want to talk about the programs I have learned Delphi, I found a trick,

Is:

There is a self-similarity in the Object Pascal syntax.

No must have, Object Pascal does not introduce new grammar forms.

This self-similarity can be found in learning Function, Unit, Object, Program, etc.

For example, I first learned RECORD (equivalent to struct). After I understand OOP concept, I guess the basic syntax of Object. When you want to write, thank you can read it, and I haven't mentioned the database yet.

I think it is sometimes misleading with Delphi and database.

People only see that the Delphi threshold is very low, which hinders people to understand her actual power.

With so many years Delphi, I realized a little philosophy of Delphi:

With the advancement of society, the details of division of labor, reasonable rules are: You have the right to know everything, but it should not be forced.

转载请注明原文地址:https://www.9cbs.com/read-2615.html

New Post(0)