C # version design pattern (GO)

Source: Internet
Author: User

C # version design pattern---------------General Order

Today in writing code, suddenly thought of a very interesting question, is a very classic problem: The cat called, the teacher ran, the master woke up.

I do not know what is in my mind, how suddenly popped out of the idea, and later think, it is time to thank the blog about design patterns, although the design pattern for the program ape should not be a strange technology.

The design pattern is mainly to teach you how to write code, more exactly what should be the organization of code, so that the code more elegant. Coding the program into an art.

So how do you understand the "Organization code"? This is a very interesting question in itself. when I was learning c#,java,php, there was such a question in my mind, what could these programming languages do? I believe many beginners will have this question. Children's shoes, please raise your hand.

This seemingly interesting question, in fact, is that the code is not organized by everyone. I remember my first program of ape work, and our supervisor told me how it felt that you couldn't write the program, very mulberry.

When I look at the resume of the interview, many students who just graduated will say, I am proficient in C # or Java and so on. All feel that they are very cow x appearance, in fact, I also think so. Where does the problem arise? This reminds me of another program of Ape's analogy, very appropriate, although this program ape I do not know who he is, are seen on the internet, he said: You are very familiar with 26 English letters, you do not necessarily know all the words. is not very cow ... ^_^

In fact, those students are not working experience, there is no explanation for the White one truth: a premise implied that the condition is: my mastery, is proficient in grammar. So to write code, I think the main thing is to exercise our logical thinking ability, a variety of programming languages is just a tool to solve the problem. Only the explicit needs, how to do, is the traditional desktop program, or mobile, or service, and so on, then all we can do is to choose the most convenient tool to solve this requirement, that is, the programming language.

Simply said some of their own over the years, the programming of some sentiment. In later articles in the design pattern series, design patterns are updated irregularly.

On the one hand again familiar with, another aspect gives the beginner a reassurance. Learn the procedure, there must be a process. Slowly come, the road long its repair far, I will go up and down and quest

Recommend a book to everyone: "Big talk design mode", I learn the design mode, the choice is it, very good. This is my password, never tell anyone else. How to get this book, go to the bookstore or buy a book in the evening, local tyrants ... ^_^. In the Celestial kingdom, for the not-wealthy program apes, we all know ha, I can say nothing.

C # version design pattern (GO)

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.