Programming can be roughly divided into algorithms and architectures. Architecture is mainly to understand the advantages and disadvantages of various libraries and distributed systems, so as to choose the appropriate components when designing. For example, you should design Baidu: what modules Baidu has, and then choose what database, front-end framework, back-end framework, message queue, and how to combine these modules. If it's just pure code, you need to be familiar with the framework you use, and then you need to be careful.
However, in the process of algorithm programming, a lot of mathematical concepts and skills will be used, and if there is no corresponding mathematical foundation, some difficulties may be encountered. The following are some mathematical concepts commonly used in programming: 1. Linear algebra: linear algebra is a mathematical discipline that studies concepts such as vectors, matrices, determinants and linear equations. In programming, we will use the knowledge of linear algebra, such as vector addition, matrix multiplication, vector multiplication, matrix multiplication and so on. 2. Calculus: Calculus is a mathematical discipline that studies the concepts of limit, derivative and integral of functions. In programming, we will use the knowledge of calculus, such as the concepts of limit, derivative and integral, and use derivative and integral to calculate the value of function. 3. Probability theory: Probability theory is a mathematical subject that studies random phenomena. The knowledge of probability theory will be used in programming, such as the probability of events and the generation of random numbers.
Therefore, if you are interested in mathematics and have a certain mathematical foundation, learning programming may be more handy. But don't worry too much if you don't have the corresponding math foundation. You can overcome the difficulties by learning relevant mathematical knowledge and programming skills.