Finally realized that in. NET development without C # that's just asking for trouble.

Source: Internet
Author: User

I am a Delphi fans, since tried a little Delphi8, the next day deleted, the bug too much, can not use, had to reluctantly use the c#,delphi2005 out, and installed a trial version used, feel good, a bit ecstatic, ready to use up, But as the scale of the program continues to grow, more and more are found to be at least unpleasant:

1, occupy too much memory, generally speaking to write a program will use out of 400M, more terrible is every debugging, memory will increase a lot, debugging finished still don't give me release

2, unstable, especially in the interface design, often I associated with the event from the control to delete, or is inexplicable some of the error prompts, of course, these tips are in the designer, will not affect the normal use of Delphi, but often just a good interface I switch from the code to the IDE design machine, There is nothing to show.

3, internal inconsistency, can compile through, but and in the right place with red wavy line prompts syntax error

Obviously support

Var

A:array of integers;

A: = new (Array[5]of integer);

The compilation is no problem, but to give me the online error hint, let me uncomfortable

A is clearly an array, if I write a.length he compiles and does not pass, and writes &array (a). Length only.

4, for namespace support inexplicable its second, must make a complex naming rules, in the unit name, although this can get the most of the traditional Win32 PAS syntax support, But it feels like this means a lot of inconvenience to. NET drive, the result is to uses place to refer to the full name, not the name space name, and always remind yourself to use the other. NET Development DLL or Delphi development of the DLL, the same thing to make two sets of standards, I really annoyed

5, Debug Too bad

Contrasting Delphi7 is simply backwards.

Under Win32, you can debug variables in your program, and when you get to the. NET, the Watch window becomes a device.

Just look at what's in the local var window and look for it on one level at a

6, more importantly, if you compile a DLL with Delphi, you go to C # How to use, you go to the Delphi, no, you also have to provide *.dcpil documents, otherwise not let you use, is really nothing to say

It was a lot of work to get the big program done, but the development process was really deadly.

Fortunately, now out of a chrom, for his various aspects are relatively satisfactory, but found that there seems to be a bug

If this definition

TA = Class

Protected

Fa:integer;

End

TB = Class (TA)

Public

function Bbb:ta;

End

function TB. Bbb:ta;

Var

RR:TB;

Begin

RR: = new TB;

RR.FA: = 1;

Result: =RR;

End

Is that the compiler does not pass, feel chrom to protected deal with a little problem

Finally can sigh, do not live really tired without C #



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.