Javascript: evolved from the most misunderstood programming language to the most popular language the world's most misunderstood programming language has become

Source: Internet
Author: User

Edit @ 2011-4-27By Frank
: 1. Added illustrations; 2. modified the words and statements of the article; 3. unified the CSS style.

Latest address in http://www.ajaxjs.com/popular.htm

-----------------------------

I translated articles in the early 07 years when I was studying JS and sent a mail to DC. DC added my link. Hey hey.

Author: Douglas crockford 08.3.3

Original article: http://javascript.crockford.com/popular.html

Jean sammet wrote the book "computer language: History and cornerstone" in 1969. This book examines 120 programming languages, some of which have a detailed introduction. Sammet, a language editor, was written in the subsequent Structured Programming Revolution (structured)
Programming Revolution), before object-oriented programming. The book is translated into a Tower of Babel. See. The tower is surrounded by bricks and contains programming languages of various names.

Note: babeta, The tongtian tower in the Bible, breeds the children of Noah after the flood and tries to build a tongtian tower to pass through the heaven. God is upset, so he created different languages for them, language barriers and communication barriers have collapsed.

This is a well-known story of the Bible Genesis [-9:

The Lord has come to see the cities and towers built by the world. The Lord said, "Look, they have all the same words to become the same people. Now, when this is done, nothing will be done in the future.
Let's go on, and there we will break into their accents, making their words inaccessible to each other. Then the Lord dispersed them from there across the earth. They stopped the city. Because the words of the Lord in the world are scattered across the Earth, so the city is named Ba BIE (ba bie is the meaning of an accident ).

Sometimes it means being a person cannot be too arrogant. Sometimes it is a fable that tells you why people speak different languages: the Lord has created i18n to prevent people from reaching their potential.
Problem. However, I want to put this truth in the programming language. The fundamental problem in programming is the ability to control complex problems. If the language fails to help us deal with complicated systems when the demand changes, it is ultimately confusing and naturally not far from failure.

Why are there so many programming languages? A large number of new languages or dialects have been available in the past 40 years, regardless of the number of sammet at that time. Although we have been in a high
Level) environment programming, but the real cross-domain boundary, to achieve a complete place is not much. So should we follow an appropriate method to show the advantages of computers? No doubt
Q: the efficiency of designing in the same excellent language is obvious. Because we can more effectively concentrate resources for training or tool R & D. Why are we not doing this?

We have worked hard. Now there are several languages that have attempted to build large-scale, general-purpose languages, but the results failed. With the continuous update of language design, more functions are added, making the language more and more complex.

Therefore, we can see that there are many specialized languages. In the field of completing some tasks, specialized languages can be very efficient, and they are good. For those who want to complete such tasks, choosing a good language is naturally a treasure.

A programming language uses the syntax operation of some expressions to obtain the model correction. Most languages have a set of common values such as numbers and text (numbers, texts
In most languages, it is strangely called a string), and several operations, such as changing and merging values, or some variable and loop operations, some common operations are packaged into commands.

Changes are like shadows. They are unpredictable, just like a dish and a piece of music. The art of language design lies in understanding what is leave out ). A good language, the functions in it should be working together harmoniously to help us better understand the problem and find the best way to express the solution (
Best expression of its solutio ).

A good language consists of several groups of functions, but which function is the best will never be concluded. Programmers can constantly discuss this topic and whether it is better than other languages. This is not to say that the function is not important. Function is very important. But we still don't know how important it is.

The language design between fashion and technology needs to be more on fashion. Fashion is a major factor in nerdliest art. It may seem strange, but it is true. No matter how elaborate the language design is, if an alternative syntax is used, it is not expected to be widely used. This will constrain the evolution of language.

Like music and food, programming languages are also the product of time. The deep problems of language design are not technical or psychological. A programming language should be consistent with our cognitive structure to help us identify problems more efficiently.

The programming language is like an animal like a cat. It is easier to replace an old cat. It is common sense that most languages are successfully banned from subsequent upgrades. The re-planning language rarely reaches the old version. Fortan was once a language leader and has been improving for years, but FORTRAN
IV's reputation is beyond the reach of modern Fortran dialects. Similarly, Pascal is a popular language for structured programming, but its oo version is hard to shine on original Pascal. As a result, it is gradually replaced.

Specialized languages are very interesting, which explains why they are so many. If the structure of a language is not very large, a programmer can control it. Most languages can be created by a designer. Pascal: Wirth. C:
Ritchie. C ++: stroustrup. Java: Gosling. C #: hejlsberg. REBOL: sassenrath. Python: Van
Rossum. php: lerdorf. Perl: wall. Ruby: Matsumoto. Lua: ierusalimschy. E: Miller. Javascript: eich.

Most language failures are unclear. The remaining few languages can be used in a single project or company. Only a small number of languages become important languages.

There are two ways to make a language more important. The first is that it can make the mind shine. Both smalltalk and scheme have these characteristics. Although these languages are not widely used and are outdated, they are recognized as outstanding languages, it has a profound impact on the later language design.

The second is how popular he is, reflecting the importance of language.

When a programmer chooses a programming language, many things must be considered over and over again. However, the only choice for programming a web browser is JavaScript.

Javascript can be regarded as a well-behaved and upright and evil language. Its well-behaved features bring it an extremely bad reputation. The Dom Document Object Model also works with JavaScript
The rest is a thankless API. After clarifying the concept of JavaScript, various dom-related things are coming along ). Many people want to improve JavaScript, but there is little room for improvement in the current situation of web development. The functions of the Javascript language are unclear, including awkward interactive operations or failures.
. As Emperor Joseph said, this language has a lot of tricks.

Well, there are so many shortcomings in Javascript, how can we still be a Web-based leading programming language? Brendan
Eich has the ability to persuade the bald boss of Netscape at that time to be the script language of navigator, or not to use the new language, in a rush to design and implement a new language, there is really no other language to replace this demand. In order to eat away Netscape's market share, Microsoft's ie team carefully obtained through reverse engineering
The Netscape language obviously has many shortcomings, but it doesn't matter if it is November 21. Other browser vendors also follow Microsoft's practice, so there is no need to implement standard web browsing.
JavaScript. In addition to Javascript, no other language implementation can work in the browser. Internet development is full of unknown, so there is no careful research on language, and there has never been any preliminary research or careful design. It is just from Netscape, and is constantly copied. If we deliberately create something similar to JavaScript and establish a standard for it too early, maybe this is not what we want.

Although Javascript is full of flaws, there are many errors in its kernel. When you step by step learn about it internally, you will find this refined and powerful programming language. Many
The Ajax library now uses JavaScript to process Dom and generate an interactive platform for applications in the form of web pages. Ajax has become more popular because the comprespt algorithm is still acceptable,
It is beyond our imagination. The most popular Javascript in the world was once the most misunderstood language in the world. With its obvious flaws, an out-of-the-box programming model, and a misleading profile all over the world, the name that is out of proportion has once made most smart programmers feel worthless and have been resisted. However, Ajax gave javasrt a second chance.

Because Javascript is the language of the browser, it is because the web browser has gradually become an important part of the messaging program, because Javascript is not too bad.
Cake, javasrt rt has become the world's most popular programming language. Javascript is becoming more and more important because of the increasing circulation and application in some embedded programs.

It is better to be lucky than smart ..

Related Article

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.