当前位置:网站首页>Understand what is a programming language in a popular way
Understand what is a programming language in a popular way
2022-07-06 16:04:00 【Programming fish 66】
Before learning programming languages , The first thing to know is this “ programing language ” The concept .
When I was very young , My parents taught us to talk , It also teaches us how to understand the meaning of other people's speech . After a long period of edification and self-study , We learned to speak unconsciously , At the same time, I can understand the meaning of other children , We began to ask our parents for pocket money to buy snacks and toys 、 I was bullied and told my parents ……
We are speaking Chinese , yes “ Chinese language ”, Just tell our parents what we need , Parents will be satisfied , We use it “ Chinese language ” To control parents , Let parents do what we like .
“ Chinese language ” There is a fixed format , Each Chinese character represents a different meaning , We must express... Correctly , Parents can understand what we mean . For example, let parents give us 10 Yuan for pocket money , We will say “ Mom gave me 10 Bucks! , I want to buy a car ”. If we say “10 Give me the car allowance, mom ”, perhaps “ Mom gave me 10 RMB , I would like to buy it F-22”, Mom would be surprised , I can't understand what we mean , Or understanding mistakes , Blame us .
We use the “ Language ” To control others , Let others do things for us . There are many languages , Including Chinese 、 English 、 French 、 Korean, etc , Although their vocabulary and format are different , But it can do the same thing , We can choose any language to control others .
Again , We can also pass ” Language “ To control the computer , Let computers do things for us , Such a language is called programming language (Programming Language).
Programming languages also have fixed formats and vocabulary , We have to learn to use , To control the computer .
There are many programming languages , Commonly used C Language 、C++、Java、C#、Python、PHP、JavaScript、Go Language 、Objective-C、Swift、 Assembly language, etc , Every language has its own specialty , for example :
programing language | Main uses |
---|---|
C/C++ | C++ Is in C Developed on the basis of language ,C++ Contains C All the content of the language ,C Language is C++ Part of , They are often used in combination , So collectively referred to as C/C++.C/C++ It is mainly used for PC software development 、Linux Development 、 Game development 、 MCU and embedded system . |
Java | Java It's a universal language , Can be used for website background development 、Android Development 、PC software development , In recent years, he has been involved in the field of big data ( Thanks to Hadoop The popularity of frames ). |
C# | C# It was developed by Microsoft to fight against Java A language of , Implementation mechanism and Java similar , however C# Obviously failed , At present, it is mainly used for Windows Platform software development , And a small number of website background development . |
Python | Python It's also a universal language , Mainly used for system operation and maintenance 、 Website background development 、 Data analysis 、 Artificial intelligence 、 Cloud computing and other fields , The momentum has been strong in recent years , It's growing very fast . |
PHP | PHP It's a special language , Mainly used to develop website background program . |
JavaScript | JavaScript At first, it can only be used for website front-end development , And it's the only language for front-end development , There is no substitute . In recent years, due to Node.js The popularity of ,JavaScript In the background development of the website also occupies a place , And it's growing fast . |
Go Language | Go Language is 2009 Year by year Google A programming language released , Grow very fast , There are a lot of applications at home and abroad .Go Language is mainly used for server-side programming , Yes C/C++、Java It's a big challenge . |
Objective-C Swift | Objective-C and Swift Can only be used for the development of Apple products , Include Mac、MacBook、iPhone、iPad、iWatch etc. . |
assembly language | Assembly language is a language in the early stage of computer development , It's very efficient , But the development efficiency is very low , So assembly language is not used in common application development , Assembly language is only considered in the key modules which require high efficiency and real-time , For example, the operating system kernel 、 drive 、 Instruments and Apparatuses 、 Industrial control, etc . |
Different programming languages can be compared to different languages , To express the same meaning , Different statements may be used . for example , expression “ Hello world ” It means :
- chinese : Hello world ;
- English :Hello World
- French :Bonjour tout le monde
In programming languages , The same operation may use different statements . for example , Show... On the screen “C Chinese language network ”:
- C Language :puts("C Chinese language network ");
- PHP:echo "C Chinese language network ";
- Java:System.out.println("C Chinese language network ");
Programming languages are similar to human languages , It's made up of intuitive words , It's easy for us to understand what it means , For example, in C In language , We use puts
This word allows the computer to display text on the screen ;puts yes output string( Output string ) Abbreviation .
Use puts Show... On the screen “C Chinese language network ”:
puts("C Chinese language network ");
We put the content to be displayed in ("
and ")
Between , And at the end of the day ;
. You have to write like this , This is a fixed format .
summary : A programming language is a series of instructions used to control a computer (Instruction), It has a fixed format and vocabulary ( Different programming languages have different formats and vocabulary ), Must abide by the , Otherwise it will go wrong , Can't achieve our goal .
C Language (C Language) It's a programming language , Study C Language , Mainly to learn its format and vocabulary . Here's a C A complete example of language , It will let the computer display ”C Chinese language network “.
This example mainly demonstrates C Some inherent forms and vocabulary of language , Readers who don't understand don't have to dig deep , I don't have to ask why , We will explain it to you step by step later .
#include <stdio.h>
int main(){
puts("C Chinese language network ");
return 0;
}
These words have specific meanings 、 sentence , Organized in a specific format , It's the source code (Source Code), Also known as source code or code (Code).
that ,C Language definitely defines every word in the source code 、 The meaning of the sentence , It also defines how they should be organized , This is grammar (Syntax). It's with what we say when we learn English “ grammar ” similar , They all stipulate how to organize specific words and sentences into intelligible languages .
The process of writing source code is called programming (Program). People who work in programming are called programmers (Programmer). Programmers are also very humorous , I like to laugh at myself , I often say that my work is hard , Low status , Like a farmer , So call yourself ” Code the agriculture “, The farmer who wrote the code . Some people call it ” Program the ape “.
C Language /C++ Programming learning base group :jq.qq.com/?_wv=1027&k=iRhFqGAf
边栏推荐
- Opencv learning log 31 -- background difference
- Research Report on surgical fluid treatment industry - market status analysis and development prospect prediction
- CS zero foundation introductory learning record
- 区间和------离散化
- Penetration test (2) -- penetration test system, target, GoogleHacking, Kali tool
- C 基本语法
- 洛谷P1102 A-B数对(二分,map,双指针)
- New to redis
- [exercise-1] (UVA 673) parentheses balance/ balanced brackets (stack)
- Information security - threat detection engine - common rule engine base performance comparison
猜你喜欢
C语言学习笔记
[exercise-4] (UVA 11988) broken keyboard = = (linked list)
【练习-4】(Uva 11988)Broken Keyboard(破损的键盘) ==(链表)
渗透测试 ( 2 ) --- 渗透测试系统、靶机、GoogleHacking、kali工具
Penetration test (1) -- necessary tools, navigation
Ball Dropping
X-Forwarded-For详解、如何获取到客户端IP
渗透测试 ( 7 ) --- 漏洞扫描工具 Nessus
[analysis of teacher Gao's software needs] collection of exercises and answers for level 20 cloud class
Penetration testing (5) -- a collection of practical skills of scanning King nmap and penetration testing tools
随机推荐
Research Report on market supply and demand and strategy of Chinese graphic screen printing equipment industry
编程到底难在哪里?
程序员的你,有哪些炫技的代码写法?
The most complete programming language online API document
[exercise-6] (PTA) divide and conquer
C语言必背代码大全
Frida hook so layer, protobuf data analysis
China's earthwork equipment market trend report, technical dynamic innovation and market forecast
China's earthwork tire market trend report, technical dynamic innovation and market forecast
Analyse du format protobuf du rideau en temps réel et du rideau historique de la station B
Research Report on market supply and demand and strategy of China's earth drilling industry
Research Report of peripheral venous catheter (pivc) industry - market status analysis and development prospect prediction
Ball Dropping
【练习-9】Zombie’s Treasure Chest
Determine the Photo Position
C 基本语法
信息安全-威胁检测-NAT日志接入威胁检测平台详细设计
Interval sum ----- discretization
Opencv learning log 33 Gaussian mean filtering
渗透测试 ( 8 ) --- Burp Suite Pro 官方文档