The Beginning of Programming: Can AI Replace Humans?

Second Preface: This article mainly tells how computers and programming were first conceived, rather than being generally divided into several eras. Here we will explore the more primitive era of the computer world, the development of computers, and high-level languages. The development will pave the way for more principles to follow. As the first part, I originally wanted to write a simple introduction to programming, and then I expanded a lot of history and gossip, and also explained many basic concepts, such as what various languages ​​mean, what Turing completeness is, and advanced How programming languages ​​came into being, etc., are a good starting point for starting your programming journey.

The first preface: The content of this chapter is first a brief introduction and summary of programming, programming ideas, and programming languages; then a basic introduction to Golang, and the implementation of specific simple cases; finally, the application and future development of Golang are studied and discussed. . Basically, it is my own experience, practice records, summary and insights. There are no boring tutorials and copies of knowledge points. If there are any, please memorize them.

text:

A world that will eventually become one

Before talking about programming, I want to discuss computers first. As an enthusiast and practitioner in the computer industry, I have always believed that various fields in computers are inseparable. This is also an issue I have been discussing with my friends in the past two days. When I was in school, my teacher thought that I was exposed to everything and knew a little bit about everything, but I was not proficient in every direction. I also thought that I was more suitable to be a generalist rather than an expert.

But recently, I gradually feel that it is a wrong idea to separate various fields of computing. Of course, my current idea may change in the future. After all, everything changes. At least I feel now, and I also hope that I have a deep understanding of various fields of computers, a bit like breadth first, but mixed with the butterfly effect. We often say that we hope to achieve something in some aspect, but whether it is a towering pines and cypresses or a banyan tree that blocks the sky and sun, they all have root systems extending in all directions. Therefore, I believe that all fields of computer science are integrated. Although they have their own advantages and disadvantages in different directions, their relationship is inevitably very close.

So now, let’s start putting down roots.

The development of computers and computer theory

Programming, programming ideas, programming languages

When I was young, I was very naughty and played all kinds of tricks on the house. But I also liked building blocks, running mazes, and doing my favorite handicrafts. From what I understand now, programming is just like playing these childhood games. , realize your own ideas through computer programming and make it into a "handicraft".

So for programming ideas, there are some basic principles and commonly used routines on how to structure my works, just like building blocks with a basic mosaic model, which is also affected by friction and gravity. Then, how to make my works exquisite and flexible depends on how I design and conceive them.

And programming language is my tool. It is no exaggeration to say that it takes ten years to sharpen a sword. When you are familiar enough with your tool and understand it well enough, you will be able to cook your own sword.

Since I came into contact with computers, I have used many languages ​​​​due to various opportunities and coincidences. Here I list the languages ​​​​I have used, as well as my initial feelings, as well as my summary and feedback after consulting the corresponding information.

Introduction and comparison of common programming languages ​​(please enlarge to view)

430524570991068034image.png

picture

So, here comes the question

1. What is an interpreted language?

Guess you like

Origin blog.csdn.net/baidu_34418619/article/details/127811894