Home > Web Front-end > Front-end Q&A > What is a programming language

What is a programming language

云罗郡主
Release: 2019-01-16 11:11:53
Original
10171 people have browsed it

Speaking of programming languages, many people will think of PHP and ASP, but some newbies don’t know what programming languages ​​mean. Below, php Chinese website will lead everyone to understand programming languages.

1: What is a programming language

A programming language is a formal language used to define computer programs. It is also a standardized communication technique used to Giving instructions to a computer, a computer language allows the programmer to define exactly what data the computer needs to work with, and precisely what actions should be taken in different situations.

2: What are the commonly used programming languages?

There are many kinds of programming languages. Commonly used ones include C language, C, Java, C#, Python, PHP, JavaScript, Go language, Objective-C, Swift, assembly language, etc. Each language has its own strengths.

In programming languages, the same result may also use different statements. For example, we can use multiple languages ​​to achieve the effect of displaying "php Chinese website".

1.C language: puts("php中文网");

2.PHP: echo "php文网";

3.Java: System.out .println("php中文网");

Programming language is similar to human language and consists of intuitive vocabulary. We can easily understand its meaning. For example, in C language, we use the word puts Tells the computer to display text on the screen; puts is short for output string.

Use puts to display "php Chinese website" on the screen:

puts("php中文网");
Copy after login

Summary: Programming language is a series of instructions (Instruction) used to control the computer. It has a fixed format and vocabulary ( The formats and vocabulary of different programming languages ​​are different) and must be followed, otherwise errors will occur and our purpose will not be achieved.


The above is the detailed content of What is a programming language. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template