I will write some article previews next.

  It’s been a long time since I read a book. After I read JavaScript, I read the design patterns intermittently and repeatedly. I found a lot of design patterns when I wrote the code myself. Therefore, the design patterns are the next series. Basically, you only need to read this series. Just look at the description of the four or five elements above. The design pattern itself is not important. Important usage scenarios and simple usage methods. If you think your method is simpler, you can write it in your own way. There is no need to rigidly set any design pattern. The most important thing to write code is that it is easy to understand.

  Before writing design patterns, I will add the ES6 series of class classes, and the inheritance of classes, because many design patterns use the idea of ​​"class", and JavaScript classes are somewhat different. I would like to practice class. So maybe a lot of code will write two sets.

  Basically I wrote the book JavaScript Design Patterns this year, and I hope I can finish it later.

Guess you like

Origin blog.csdn.net/dkr380205984/article/details/106859051