COCO learning program - "design mode", language-independent good book

zhaozj2021-02-11  183

Me: Good morning, coco.

Coco: God! Actually, you are still in the world ... I am hit your phone, I don't return, I thought you were running in front of you!

Me: Oh, it's really embarrassed. I lost my mobile phone last month. I lost my job. The 263 mailbox transfer was unsuccessful. I can't use it there ... so I can't afford it.

Coco: Poor ... but you put me on the side, no matter what time, I don't want to pity! In addition to this, don't you do what is more meaningful to life?

I: Yes, I have been unemployed, I bought "design model", then I didn't read it again, I really have a big gain! It is the famous master written by the four experts from the software engineering. I recommend that you will buy a book as soon as possible, it will be good for you.

COCO: Is this book so good? However, the code in the hearing is written in C and SmallTalk. I am not familiar with C language. Smalltalk can be said that this book is not too difficult to me?

Me: Although many book reviews list this book as a high-level hard reading of high-level readers, but in my personal experience, it is not very high in language, and there is no difficulty code. The focus of this book is to introduce the origin of 23 design patterns, structural analysis, design methods, and scope of application. So it is said that its main role is to cultivate the ability of readers to analyze and solve problems, not in language skills. Your already use C for some simple class design and writing, understand its basic syntax, you can read some deeper code. I see this level of this book. If you have a friend who is born in SmallTalk, I can see the same degree.

Coco: I have a confidence. However, is it very important to read this book with my beginners? After all, my time is also very nervous.

Me: I think this book should start reading as soon as possible, because it has a great help to cultivate programmers, knowledge can be studied, but the way of thinking and habits, once developed, it is difficult to change again. Although you still read all the content in the book, you tried to think about it with the author, naturally, it will affect it. When you understand and how to make the problem like the author, you will be divided into it. It is more close to the truth. This will not help you write C programs, and you will have a great help to you, even for you, and dealing with you. Honestly, if I read this book in a few years, I won't be this level. :) For me, this book is too late.

COCO: What if I don't understand the code in this book?

Me: I said before, there is no difficult code in this, with your level, if you have some individual code, you can't understand it, you can use the C textbook that reads your hand. It is important to learn the design method of understanding the code in the book. It is also to say, more than just to understand what they are "what to do", but also understand why "is this." This confusion may be more difficult to resolve, one is to communicate more friends with development experience; one is not an urgent need, to understand as an initiator, you have such difficulties, you can put it on one side, Slowly experience when writing the program in the future.

Coco: If I don't need C write programs in the future, will this book will not use it? I: Never do it, the knowledge and development of the design model is nothing to do, more importantly, the person who writes the program. Just like Bjarne Stroustrup, a person really understands the object-oriented idea, and he uses pure C to write out the procedure of the object to the object. If a person understands the design mode, then when using any development language and tool, it can create a new design mode when using any development language and tool. In fact, the application model is now widely thorough, maybe not C , but Java. If you understand the design pattern, you will definitely understand the architecture of Java, develop Java programs. As far as I know, there are many people in studying design models, all of them do Java as work platforms, and there are many relevant information.

Coco: But this kind of reading I also read some. For example, in many places, "plant model" is introduced, but I have always read why there is a factory model, and the plant model does it.

Me: There are similar problems, there are several aspects, one is that you don't have enough development experience, design mode is to solve some specific problems, if you have not encountered this type of problem, you may not understand them The meaning; some aspect is a separate article insufficient to illustrate design patterns and detailed analysis of each model. So I suggest you read this whole to introduce the design mode "design mode". In fact, its threshold is not high, the text content is only more than 200 pages, and there is no shelf in the text. It is easy to understand. It's easy to carry, you can be installed in your school bag when you take your night, and your back is tired to read it, it is quite good.

Coco: I said my heart, I will go to the bookstore tomorrow. There is a photocopy version, I bought a copy version directly.

Me: Ok, in order not to buy a wrong, I am here, the book is called "design mode", English name "Design Patterns", the author: Erich Gamma, Richard Helm, Ralph Johnso, John Vlissides. Mechanical Industry Press Publishing. Don't laugh at me, I have seen the famous Delphi book in a bookstore, "Delphi 5 Development Guide" next to "Delphi 5 Developer Guide", and the thickness price is almost the same, but the quality is Disease far ...

Coco: Then I simply buy English.

I: Speaking English, I haven't come for so long, I will bring you a small ceremony: "Python document". Now I just started to translate the "Python Guide". After you want to translate this part, put it on it, then find a place to complete it completely. But I will go to the field tomorrow, I have no chance to be busy for a long time, I have to pass the existing start. Introduction, this translation is not ideal. Many places are not very meticulous, nor are precise control translations (this is related to my point of view, I think translating is important to accurately express instead of text). I hope all friends who have false or dispute will point out in time, thank you.

COCO: You have to evaporate again ... well, then you will see you again. I hope we can see you as soon as possible!

转载请注明原文地址:https://www.9cbs.com/read-4590.html

New Post(0)