"Practicing Java development technology to experience the beauty of design patterns and algorithms in architecture"-Essentials of book Picking

Source: Internet
Author: User

(P7)

It is recommended to join the software company directly, so you will learn a lot of practical things;

The main development direction of programmers is the senior technical experts, whether it is Java,. Net or database domain, must first become an expert, and then may continue to evolve into an architect;

Enhance the initiative and participation of the work;

Only with a higher vision can we seek greater development;

(P10)

Job-hopping is required cost, this cost is your accumulated work experience, work performance, technical level and work ability;

(P11)

A good domain expert must be a business domain architect, he can give a certain business domain architecture, we can be called Business architecture, only the technical framework and business structure tightly combined, it is possible to truly create a good system;

(P16)

The system should evolve as the scale changes. Such a system is scientific and economical;

(P22)

In design mode, all design patterns follow the principle of "single responsibility Principle";

(P23)

"Single responsibility" is the "single Change Cause";

"Duty" is the cause of class change;

(P28)

Abstract hierarchy should not rely on the specific implementation details, so as to ensure the reusability and maintainability of the system;

Abstraction is "abstract class" or "interface", both of which cannot be instantiated;

If the principle of "dependency injection" is not realized, it also means that the "open and close principle (opening for extension, closing of modification)" cannot be realized;

(P41)

Senior programmers will value data structures and algorithms, the higher the level, the more understanding of the importance of the algorithm;

(P49)

The design pattern makes the code compilation can be truly engineering, it is the cornerstone of software engineering;

(P57)

The "simple factory" approach is usually static, so it is also called a "static factory";

A "simple factory" can theoretically construct anything, so it is called the "universal Factory";

In the "Simple factory" there can be only one method, there are many ways to create such a method;

(P58)

"Interface" is the external appearance of "realization class";

"Interface" is the guarantee of system pluggable;

(P67)

The "Factory method mode" is the creation mode of the class, also called the virtual Constructor mode or the Polymorphism factory (polymorphic Factory) mode;

(P68)

In the "factory method mode" There is generally a parallel hierarchy structure, that is, the factory and the product are corresponding. Abstract factory corresponding to abstract products, specific factories corresponding to specific products;

(P110)

The essence of the singleton pattern is the number of control cases;

(P116)

In the "builder model", there is a mentor who manages the builders, the user is connected with the mentor, the Mentor contacts the builder, and finally gets the product;

(P142)

It is recommended that you do not mix deep and shallow copies, especially when it comes to class inheritance, where it is very complex to have multiple references to a parent class, and the proposed scheme is a separate implementation of deep and shallow copies;

(P162)

In the adapter mode, the adaptation from "source" to "target" is implemented, and the adapter is responsible for transitioning "source" to "target";

(P174)

To change the inheritance relationship between the two roles into the aggregation relationship, the strong association between them is changed to weak association;

(P185)

Bridging in bridge mode is one-way, that is, the object that can only be an abstract part to use the concrete realization part of the object, but not in turn;

(P194)

From a more essential point of view, basically as long as the Java program for the abstract writing, can be regarded as the application of bridge mode, is to let the abstraction and implementation phase separation, so that they can change independently;

(P254)

Enjoy meta mode is a mode to improve the efficiency and performance of the program, which will greatly speed up the operation of the program;

(P262)

The meta-mode is a caching technique;

(P460)

The introduction of State mode eliminates the complicated and lengthy logic judgment statements in the code;

"Practicing Java development technology to experience the beauty of design patterns and algorithms in architecture"-Essentials of book Picking

Related Article

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.