Programs-language-architects-ideas

Source: Internet
Author: User

Program

The essence of the program is the modeling of real life, reflecting the real world. A program is an abstraction of reality. Then we compare the reality with the program to see, in real life, the most important thing is to deal with the relationship between people, dealing with the relationship between the good people, life is not too difficult, and reflected in the procedure is the most important, the most critical is to deal with the relationship between classes and classes, dealing with the relationship between classes and classes, to the later A project will fall apart. In the program there is an analysis of the focus of thought, that is, MVC thought. In fact, in the real life has early embodiment, can not say that, feel the program out of the reality, should be the reality early embodiment, the program will be abstracted out, a name called MVC. For example, for example a company, from top to bottom, President, manager, Project manager, programmer. For example, the president wants to do an app, he will only say to the manager, go, I want an app, he will not care what you do, he just the result. The manager said to the project manager, go, I want to make an app, the project manager is responsible for the progress, let the programmer make an app. This is real life, in fact, the process of the world is the same, this is the real object-oriented thinking. Now say the program, for example, the teacher has a complex function to complete a problem, I wrote all into a main () function to go, which is actually the process-oriented thinking. And we need to build some classes to do this together, but what's the class built, I don't know, this is real object-oriented programming, which is a point of real elevation. Only the improvement of the ideological level, is the sublimation.

in the final analysis, object-oriented programming is the process of dealing with class-to-class relationships.

Language

Speaking of the procedure, have to say, the programming language, I do not know what the language in everyone's heart, anyway, if you often read the blog, you will see a few major factions of contention, here is limited to service-side language, and other I do not understand,. NET PHP Java node. js Python, Every major faction said that they are the best language, especially PHP, not clear why, every time the Internet search information, there are a few comments, PHP is the world's best language, but also let me very silent. Take out an interesting thing and share with you, when I first learned C #, I saw C # has death and other C # articles, frightened I was not clear, at that time I wanted to learn to go to the Android, and later I learned PHP, and saw a little PHP can only do small projects, not make a lot of money articles. To learn Java, blog has some say that Java has been around for so many years, is old, sooner or later will be replaced by Python node. js, thanks to my ability to withstand the strong, otherwise this also can not hold AH. Well, having said so much, my view of language is the tool. Since it is a tool, it has the most suitable aspect. Tools are perfect only if you use them in the most appropriate way. Reflected in the real world, a group of people driving to work said, look, cars are the best tool in the world, and another group of pilots say, look, airplanes are the best tool in the world. Language is not more than contention, in the most suitable place to use it, it is the best language.

in the end, language is a tool, and it's good to use it in the right place.

Architect

In the program world, there is a title for all programmers to be charmed, that is, the architect, a program of the world's eldest, master of a program in the world of all objects in the power to kill. And the ordinary programmer, under the rules he defines, complements the world. So, here's what I'm going to say, architects and ordinary programmers. Take me for example, I used to do the. NET PHP Project When I was a teacher, he is certainly an architect, I, the general programmer, so that the project is still on schedule, and this project away from my teacher, the architect will collapse. This is the difference between the two. I do not know that people have heard a word no, that is, developers do the project after a few years is the architect, I just want to say to his mother's (here), ordinary programmers have been working in the framework of the architect, object-oriented thinking is not built up, unless you actively learn the framework, try to break the rules established by the architect, Otherwise you will be living under this rule, doing 70% of the work, holding 30% of the salary. What the average programmer has been working on is a process-oriented mindset that works in an architect-defined object world, which is why ordinary programmers can't become architects because he doesn't have an architect's object-oriented mind. This is the root cause. In fact, object-oriented thinking is not so simple. In my opinion, architects have a deep understanding of object-oriented thinking, and ordinary programmers have a deep understanding of process-oriented thinking.

I hope that one day I will no longer be a supplement to others, and someday I will become a independently architect and define the rules of this world.

Thought

Because of the architect's yearning for the object-oriented thinking, I once thought that the process is the old thought, destined to be replaced by object-oriented, I found that I was wrong, in fact, the object-oriented thinking is to the process-oriented thinking of the supplement, object-oriented can not be separated from the object-oriented process. The current mainstream thought has, the process thought, the object oriented thought, aspect-oriented thought. Multi-level look at the program world, the bottom is actually the process-oriented programming, from this point processing to another point, real life do things also have a sequence. The second is object-oriented thinking, the level of consideration is more advanced. And found that some object-oriented can not handle things, such as permission validation, log management, and so out of the aspect of thinking.

and I understand the ideology is that object-oriented thinking is to complement the process-oriented thinking, aspect-oriented thinking is to complement the object-oriented thinking, and so on.

Ps:

1 Stingy law: When one thing you find its essence (that is, the least), it can play its greatest role.

2 He that wears a crown shall bear its weight.

                                                           ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp    2016-08-28 12:24:46

A man who wants to wear a crown.

Programs-language-architects-ideas

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.