At 2:00 pm, I came to Shangri-La Hotel on Beishan Road to attend
Li Wei’s efficient delphi.net lecture was not big, but it was full.
Throughout the lecture, Li Wei repeatedly reiterated that .net is not slower than win32.
Some efficiency issues that need to be paid attention to when developing under .net are
Focus, and some examples of delphi.net were demonstrated on the spot,
Used to illustrate some things you should pay attention to when developing applications under .net
Problems, these problems are closely related to the efficiency of the application (such as CLR's JIT and GC, String, Boxing/unBoxing, multiThreading).
At the end of the lecture, Li Wei showed us Delphi9 on the spot, or rather
It should be BDS3.0. When starting, I saw Delphi9 start loading n multiple packages, in splash
You can see C#Builder2.0, ECO for asp.net, etc. After loading, you can enter the main interface.
There is no major change in the overall style and Delphi8.
When creating a new project, you can see many wizards, including the delphi PRoject page (that is, win32), delphi.net page, eco application page, eco for asp.net page, C# application page,
vb.net application page, TDD page (that is, Test Driven Develop, there is test in it
unit, test case, etc.) and others.
There is a refactoring function menu in the main menu and the right-click menu of the editor.
Li Wei demonstrated the Declare Variable and Extract Method functions,
In the model view part, delphi9 has further enhanced its modeling capabilities than delphi8.
Although it seems that the use case diagram and sequence diagram in uml are not supported (it is still far from being together for vs.net in this regard), class diagram finally
With the ability to read and write, that is, the ability to synchronize with the code, the changes in the code will be automatically reflected to the class diagram. Directly drawing class diagrams in the class diagram can also automatically generate (modify) the code. In Delphi8, this can only be done in It can only be done in ECO application, but now ordinary applications are also OK.
In terms of language, Delphi9 has newly introduced the inline keyword (I don’t want to tell this function, right? Haha, thanks to Borland, I finally introduced this function), and the optimization capability of the win32 compiler has been further enhanced, claiming to reach or be close to vc To the extent, for in (equivalent to foreach in C#) has also been added (but for efficiency, it is better to use less). I asked Li Wei, the attribute in .net has not been added to win32 (a pity).
In the code editor, in addition to refactoring, based on Delphi8, a HelpInsight function has been added. Putting the mouse on a variable name or class name will appear, indicating what type of this variable is. It is declared in which unit, rows and columns, and a simple comment on this variable (of course, I think this comment should be written in xml tag when defining the variable, just like in VS.net, in fact, this function should I learned from vs.net, but I made some improvements and the tip window came out is very pp^_^, but I tried it on Li Wei's machine and pressed '///' on the line on the function declaration, Delphi9 It does not automatically jump out of the xml tag like vs.net. Alas, borland, why do you refuse to do such a small function???). Delphi9's Parameter Insight Window is still the same as Delphi8
Ugly, I encountered many overload functions. This window is ugly and long. If the resolution of the monitor is lower than 1152*864, it is easy to block the current location of the cursor you are writing, and I can't continue to write the code. In my impression, MessageBox.show() is an example. When Delphi8 came out, someone raised this question in the borland news group, but it was strange why borland has not corrected this problem??? Not to mention the beauty, it must be solved by practicality?
SynEdit is another new highlight in the code editor, which is the code synchronization editing function. If I think that I have used C++BuilderX and JBuilder, I should know this function. Select a piece of code, enter the synchronous editing state, and modify a variable name. Other places where this variable appears in the selected area will be automatically modified, which is more convenient.
Regarding TDD, Li Wei did not give a demonstration, and I didn’t have the chance to explore it, but after asking him, he said that before the official version came out, TDD should have further strengthened it, and there will be no only the current two wizards, test unit and test case.
In terms of MDA, ECO finally supports asp.net. Not long ago, I heard that more than 90% of the applications on .net are now used asp.net, so if ECO does not support asp.net, then such a good thing, In addition to learning, the meaning of practicality is much less. Blessed are those who write asp.net :)
Other functions such as CaliberRM, StarTeam integration, Li Wei did not demonstrate and had no chance to see it. I wonder if the integration level will be improved compared to Delphi8.
At a glance, my overall impression is that the overall IDE is still not very detailed enough.
I think it seems a bit difficult to completely save the loss of delphi developers in this version. After all, there are not enough new features that attract people. Refactoring and unit testing are now available. Delphi7 and third-party experts. I hope that borland will be able to implement it. come on.
Finally, there is a strong hope that DevExpress will develop CodeRush on Delphi9!
It’s so painful to use CodeRush before returning to an environment without CodeRush~~~!