Home  >  Article  >  Web Front-end  >  Does JAVASCRIPT count as programming?

Does JAVASCRIPT count as programming?

藏色散人
藏色散人Original
2021-09-01 15:44:163088browse

JAVASCRIPT certainly counts as programming, because JavaScript is a dynamic scripting language based on prototype programming and multi-paradigm, and supports object-oriented, imperative, declarative, and functional programming paradigms.

Does JAVASCRIPT count as programming?

The operating environment of this article: Windows 7 system, JavaScript version 1.8.5, DELL G3 computer.

Is JAVASCRIPT considered programming?

JAVASCRIPT certainly counts as programming.

First of all, everyone needs to know what a programming language is?

Programming language is a formal language used to define computer programs. It is a standardized communication technique used to give instructions to computers. A computer language allows programmers to define precisely the data the computer needs to work with and precisely the actions that should be taken in different situations.

The earliest programming language was produced after the invention of the computer. It was used to control the movements of jacquard looms and automatic pianos. Thousands of different programming languages ​​have been invented in the computer field, and new programming languages ​​are still being created every year. Many programming languages ​​need to use instructions to describe calculation procedures, while some programming languages ​​​​are declarative programming, describing the required results without explaining how to calculate.

The description of a programming language can generally be divided into syntax and semantics. Grammar is the correct combination of symbols or words in a programming language, and semantics is the explanation of programming. Some languages ​​are defined by specification documents. For example, the C language specification document is also part of the ISO standard. The version after 2011 is ISO/IEC 9899:2011, while other languages ​​(like Perl) have a main programming language implementation document. , considered as a reference implementation.

Programming languages ​​are commonly known as "computer languages" and there are many types. Generally speaking, they can be divided into three categories: machine language, assembly language, and high-level language. Every action or step performed by the computer is executed according to a program that has been programmed in computer language. A program is a collection of instructions for the computer to execute, and all programs are written in the language we master. Therefore, if people want to control the computer, they must issue commands to the computer through computer language. Currently, there are two common forms of programming languages: assembly language and high-level language.

Then let’s introduce the background of JavaScript:

JavaScript was originally designed by Brendan Eich of Netscape, and initially named its scripting language LiveScript. Later, Netscape After Sun cooperated, it was renamed JavaScript. JavaScript was originally inspired by Java and was designed. One of the purposes is to "look like Java", so there are similarities in syntax, and some names and naming conventions are also borrowed from Java, but the main design principles of JavaScript are derived from Self and Scheme . The similarity in names between JavaScript and Java was the result of Netscape reaching an agreement with Sun Microsystems for marketing reasons at the time. Microsoft also launched JScript at the same time to compete with the JavaScript scripting language.

In the early days of development, the standard of JavaScript was not yet determined. During the same period, there were three pillars: Netscape's JavaScript, Microsoft's JScript and CEnvi's ScriptEase. For interoperability, Ecma International (formerly the European Computer Manufacturers Association) created the ECMA-262 standard (ECMAScript), both of which are implementations of ECMAScript, although JavaScript is intended as a scripting language for non-programmers, not as a programmer People use scripting languages ​​to promote and advertise, but JavaScript has very rich features. [10] In 1997, under the coordination of ECMA (European Computer Manufacturers Association), a working group composed of Netscape, Sun, Microsoft, and Borland determined a unified standard: ECMA-262. The complete JavaScript implementation consists of three parts: ECMAScript, Document Object Model, and Browser Object Model.

JavaScript is a registered trademark of Oracle Corporation. Ecma International developed the ECMAScript standard based on JavaScript. JavaScript can also be used in other situations, such as server-side programming (Node.js).

javascript concept:

JavaScript ("JS" for short) is a lightweight, interpreted or just-in-time compiled programming language with function priority. Although it is famous as a scripting language for developing Web pages, it is also used in many non-browser environments. JavaScript is based on prototype programming, a multi-paradigm dynamic scripting language, and supports object-oriented, imperative, declarative, and functional programming paradigm.

So javascript is definitely a programming language.

Recommended study: "javascript basic tutorial"

The above is the detailed content of Does JAVASCRIPT count as programming?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is javascript superNext article:What is javascript super