I view the programming language
I view the programming language
Leezy_2000
This article represents only personal view is for reference only.
On the programming language V He Although this argument, but in fact very few people really do programming language in the comparison, while many worthless or wrong view it in a real misled many programmers understand, and I decided to write this article.
First, the premise
In this paper, the latter view is based on such a premise: only concerned about language features, and ignore the standard library and various other commercial framework (although a greater extent, these people decided on the choice of language). This will make the article more theoretical perspective, rather than practical significance. But the language of the fundamental programming language, whether it is done language, the language or comments, should take this as the starting point, otherwise this will lead to discussion of the infinite increase, which led to a discussion of the results. To avoid some Zhaocha, a statement that must be made in advance, by the standards of the realization of the language will be seen as linguistic identity, which take into consideration the scope. At the same time here is the programming language that refers to the number of general-purpose high-level programming language, such as C / C + +, Java, Python, Perl, etc..
Second, 80% and 20%
I am learning about different programming languages, more often than not feel the same period of the common. So I thought, and found that the presence of common necessity.
The fundamental characteristic of the software complexity of this Dijkstra told us, "the complexity of the master skills as early as in ancient times there: divide et impera (decomposition and rules)." When we break down and set specific rules, we use some analysis and design methods. Two contemporary mainstream analysis and design method is structured and OO. Structural design method is the basic structure of the order of three branches and choice. OO of the three basic characteristics are encapsulation, inheritance and polymorphism. Various languages usually support both analysis and design methods, and the basic language features will also cover the six elements. So from this point of view is necessarily different programming languages a lot of similarities.
For corroboration First, "The Art of Computer Programming" this book. This book algorithm used vulgar language to describe, but most of its contents have been different programming language shared by the developers. Some commented that today's software development personnel available to the vast majority of computer programs designed from knowledge of this, which means that a considerable number specific programming knowledge can be realized in a variety of programming languages.
Another is the "design mode", it is difficult to say that you design model is the kind of language, most of the design model can be used to achieve all of the programming language. Although the realization of specific language features will be done because a considerable adjustment. Can be said that different programming language in a set of design patterns before, is embodied in common.
To sum up the contents of the above is: many occasions, different languages can be interchangeable. Exchange of different species is based on the common language, and these similarities are the basic reasons for the different programming language to support the fundamental thinking of the majority of the same.
Gulao Legend has it and learn height, switch between languages is very easy, a lot of people experience also proved this remark. Above that it is the origin of this phrase.
Here does not equate the various languages of the meaning, but the programming language with common personality compared to the contrary, the smaller part. They often become the focus of attention, but also the existence of so many programming languages to be a major cause.
Most people probably came from this experience the basic grammar, in fact That was a very disturbing aspect. Basic syntax of different origins in what Mocongkaozheng, but the fundamental fact is this different learners in the waste of time. We analogy to be a waste of everyone knew how this is not worth pre-UML, said of the mainstream OO There are three express their meaning not too bad, but they do not like. Learning, the work of the people will spend nearly the same thing three times the energy (or else others said that with the addition of written documents you understand how to read), these people have been liberated. But in the field of programming languages such bad thing is continuing, almost everyone has to remember that a good many if statements, despite the fact that they can be unified.
Paojiao basic syntax aside, the other aspect is really small. Even if the C + + and Python difference between these two great languages put together an analogy. A time to remember the only major difference: â‘ Python tuple and the built-in list, and some other data structure as built-in type (of course, associated with the operation). C + + and use the basic definition of this type. â‘¡ Python support function generator and nested function definition. And the C + + does not support. â‘¢ Python language is dynamic typing, a Fan of innate ability. And C + + to support the concept of using a template-Fan. This is not a complete list, if they so wish, this list can indeed variable length, but others reflect a common standard will usually longer.
(Note: I did not reference the corresponding books of the linguistic identity of the two listed, and compare their similarities and differences thorough, is only the normal use of the language frequently used Xiangleyixia, write the above things. If it used in two or more languages, I would suggest that the use of this two different ways to determine the common language of the extent of overlap.)
This is exactly what Title 80% and 20% of the fundamental meaning. Although different languages looks very different, but common to more than personality. Whether it should be 4:1, God knows, that interest can be the statistics of a data.
Third, the conclusion
(Prior statement, here is learning from the perspective of this conclusion, rather than Gunfan perspective)
Many years ago there this statement: programming language is not important, only the important design concepts. Asked mouse in the past few years that is the great programming, this statement was gradually forgotten.
In this article, at the end, I would like to some interpretation of this phrase. Programming language is not unimportant, light has an idea, the basic syntax is not clear who engage in what are sure to draw up. But then? Constantly learning new language, access to new grammar? From the above analysis, if you do this, that means you are doing duplication of work, and no real progress. Really programmers should not be so degenerated, and the need to learn some things it thought. Can not to study how to put a button dragged another place to shrink the shortest path?
Learning programming languages, familiar with the basic grammar, the language must be concerned about some of the things behind the load. But
Know that these two alone is still not enough, we will also know when these things suitable for the use of bearer. This is more difficult than the first two things.
To avoid conclusions too abstract, for example to describe the triple realm: for instance, when learning template, the first step is to understand the basic grammar, to be able to write a template to ensure that category, no grammatical mistakes template function that enables the compiler . Fan to go to the second step of understanding of such thinking to think the fundamental norm-What is the purpose? The third step is to meet specific issues, the right to choose whether or not to use these characteristics, and use and how to use it.
4, the end of
Programmers as a general terms, is the real meaning of differentiation. Bjarne Stroustrup claimed: "Yes, I am a programmer." A delay will only drag the mouse, to complete the assigned functions of the novice, we are usually called programmers. But the fact that the same name, its intrinsic meaning is not the same.
Visual Programming and RAD generated by the rapid development of a clear consequence is that the so-called blue-collar workers from the software we are so close. And more and more people with the speed of lightning cut into the corps. This is how magnificent it like a false prosperity. So many fallacies potential and should be health, most people dumbfounding Wuguo a "youth programmers eat rice." This is a bit too programmers underestimated this career, set up the premise of this statement is nothing more difficult to do programmer, does not take any accumulation, the major effort is live. It is true if the programmer is only a mouse drag career, the prime of life has the innate superiority. But unfortunately, most of the time he is not, or should not be yes.
Here I will ignore many of the software the call of the blue-collar, solely from the perspective of personal development to a practice of pragmatism At the same time, MO to forget what is the fundamental programming, MO forgot to upgrade their realm.
Tags: programming








0 Comments to “I view the programming language”
No Comments. Send your comment.
Leave a Reply
You must be logged in to post a comment.