Comic Design Pattern 2: How to learn design patterns

A few days ago, Xiao Hui just posted a comic design pattern, telling you what is the "chain of responsibility pattern". Today, Xiao Hui will talk to you about how big the gap can be between those who learn design patterns well and those who do not learn well, and how everyone cares about how to learn design patterns well.

The two young people were classmates from the university. They were admitted to the same company after graduation. It can be said that they stood on the same starting line. Both are full of confidence and ambition for the future.

One of them is full of enthusiasm and learns popular frameworks everywhere. However, due to the size of the company and business logic, many things he learns are not used, and he forgot after a long time, so he became a leader in the work day after day. CRUD Boy, gradually became confused about the meaning of his persistence and hard work.

The other person's code is getting better and better, and his programming ability has been significantly improved.

 

I believe that many people are like the former. They have learned a lot and have written code for many years, but they can't feel the improvement of programming ability. When faced with slightly complicated code design and development , the code written is not only messy, but also poor in scalability. If there is a change in demand, let alone-it will affect the whole body, and it will be repaired and modified everywhere.

Why is this?

 

"Enough" code is not enough, but "easy to use". Design patterns, like algorithms, are closely related to coding and can directly improve your development capabilities. They are hard-core skills that are practical.

Mastering design patterns not only improves your ability to design complex codes, but also allows you to do more with less when learning frameworks and reading source code . In the source code of an excellent open source project, the amount of code and the number of classes are large, and the relationship between the class structure and the class is extremely complicated, and frequent calls are made. If you understand the design pattern, you can  get the design ideas of the big cows and learn the essence .

 

In addition, design patterns are also a high-frequency question in interviews , especially large companies like BAT and TMD, which pay more attention to the basic skills of candidates. Therefore, if you don't want to be cold during the interview, you must be fully prepared for such high-probability test questions.

 

After realizing the importance of design patterns, Xiao Hui started to make up for it and read many books. But later we found that most of the books emphasis on theory to explain, for example and daily life too, from the real software development, once to the theoretical ground to actual coding of the project is still at a loss.

 

At that time, Xiao Hui thought, if there is a programming expert who can guide me in writing code, I will make great progress! It's like, if you want to learn pure English, it's best to find a foreigner to practice. But where can you find such an opportunity?

 

Later, Xiao Hui suddenly discovered that Mr. Wang Zheng, a former Google engineer who followed the algorithm of learning, launched the "Beauty of Design Patterns" column (previously swiped the screen when he went online, and the  two-day subscription exceeded  10,000  ). I have to say, This lesson can be described as a clear stream. It is different from any kind of design pattern materials on the market. It uses real project code explanations. It is not only fun and easy to learn, but also close to the real development scene, which can really improve your coding ability and let Programming internal power is transformed into direct development productivity.

 

As the first batch of old readers to learn, I know that this course was 199 before, because the content is excellent, the quality is too good, and just add 10 more articles. The price has now risen to ¥ 29 . But now there are special discounts for geek time, so I want to quickly recommend it to students in need. Now the newcomer only costs 9.9 yuan , which is almost equivalent to a prostitute. If you are an old user, there are also great discounts now, Xiao Hui also strongly recommends to start learning, you will never regret it. 

 

Spike + password "zhengge66" is only ¥179 

Newcomers only need ¥9.9

 

Speaking of Brother Xiaozheng, I have to mention his other column "The Beauty of Data Structures and Algorithms" , which is the most popular and cost-effective algorithm class on the entire network. Xiaohui also recommends it many times. There are now 90,000+  people who have subscribed to study, which has  greatly affected a group of algorithm learners. I think this has something to do with his personal experience.

 

When he was at Google, he was engaged in the development of related systems such as Google translation and knowledge graph. Later, I worked on architecture, products, teams, and business creation. Having worked for more than ten years, he has never left the front line of coding.

 

The reason why I recommend "The Beauty of Design Patterns" to you is not only the recognition of Xiao Zheng, but also the excellent content. Xiao Hui carefully studied the column content and the content of the column, which is very systematic and solid. Now  that the complete set of 110 lectures has been updated , there are 10 lectures just for the extra meal. This pure spirit of sharing is also very interesting.

 

This is a "mind map" of an excerpt from the course . I share it with you???

       

       

What can you gain in this course?

 

 

•  More than 100  articles , 500,000 words, and more than 20,000 lines of code

The content comes from real projects he has accumulated for more than 10 years. Xiaozheng wants to explain all the relevant knowledge points of design patterns systematically and comprehensively at one time, so that you can figure out all the knowledge points related to writing high-quality code.

 

 Analysis of 200+ real project actual code cases

Most of the design principles, ideas, and patterns are not difficult to understand, but how to apply these theories to actual development. Therefore, Xiao Zheng has designed  more than 200 real project actual combat code cases , and each knowledge point will be explained with a complete development case.

 

You need to be able to practice these more than 200 development cases without worrying about your code ability.

 

•  Exclusive programming guidance to train logical thinking

In the explanation of each actual case, Xiaozheng starts from the most original problem code, tells you where the flaws are, how to optimize through design principles, ideas, and patterns , so that you can actively think in a rhythm and train logical thinking.

 

To be honest, Xiao Hui has been brushed with 2 and has new ideas every time.

 

•  More than 100 in-depth classroom discussions and brainstorming

There is no standard answer to design problems. At the end of each class, Xiao Zheng also designed 1-2 classroom discussion questions , some of which are open issues related to code design, and some are specific code optimization issues.

 

It is recommended that after studying the column, take 5 minutes and 10 minutes to answer the thinking questions, which will help you absorb knowledge. There are also many high-quality messages , which are very enlightening, and you must remember to read them.

 

It can be said that this is really a good class I have read, and some comments have been cut for your reference:

              

 

If you compare programming to combat, algorithms and data structures allow you to defeat powerful enemies, and design patterns allow you to maintain the ability to fight on a continuous scale. To win the war, the two are indispensable.

 

The course catalog is here, so Xiao Hui doesn’t need to say more about how dry it is!

       

Finally, a long-winded sentence, although the course is good, be sure to use it for practical exercises. Only by insisting on three-point learning and seven-point training can you do more with less.

 

This column, Xiaohui, watched it rise from ¥199 to ¥299. Who knows if it will rise again in the future, it can be said to be one of the annual financial products recommended by Xiaohui!

Subscribe now, seckill +  password "zhengge66" is available for only ¥179! Only ¥9.9 for newcomers!

It is estimated that there will be no more favorable prices this year. Xiao Hui is anxious if you don't buy it.

Spike + password "zhengge66" is only ¥179 

Newcomers only need ¥9.9

 

Click "Read the original text" to start at a super low price

???? Together with Xiao Zheng and Xiao Hui, conquer design patterns

Guess you like

Origin blog.csdn.net/bjweimengshu/article/details/110358685