April Study Summary

Source: Internet
Author: User

The first thing to do is to let the official refactor the code, refactoring is a very important thing, to make the code clearer, can clarify the idea of programming, although I refactoring is not very good, my main problem is that dependency and logic is not clear. Writing code later needs to focus on designing and distinguishing functions in advance.
Secondly, in the process of refactoring the code to learn the use of Mvvmlight, Mvvmlight is a convenient way to implement the MVVM framework of things, easy to use, a few lines of code to cut off the previous code more than half, the WPF program will often use Mvvmlight.

In the process of refactoring, but also try to use the factory design mode, but the conclusion is: In the absence of rich experience in the design of the premise not to use the design model, although the design pattern is good, but casually use is not suitable, first slowly.
Some of the things that are now familiar, WPF data binding, command bindings, and Staticresource,style,triggers in XAML can now be used with familiarity.

And LINQ, this is more important, the basic query LINQ can be done, the complexity of Baidu a bit OK

As for the design of code structure, the importance of abstract abstraction method and virtual virtual method are deeply realized in the process of refactoring, and also have a deeper understanding of inheriting this important property of object-oriented.

Class, this still does not understand thoroughly, is also the white school, must first consider the responsibility Division redesign class.

April Study Summary

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.