Industry news

Why is programming so difficult?

2021-12-09

Why is programming so difficult?

Computer itself

Developing software is not just about understanding what software should do and turning ideas into code. The computer itself has many problems that the program must solve. Your program must run quickly on hardware and network. The program needs to deal with machine faults. The complexity of tools and protocols leads to more problems in this field. These difficulties are not caused by the process of explaining what to do to the computer. They also need to be explained.
In addition, you need to run some programs in your mind. Sometimes logic is easy to understand, but sometimes you can't cram a series of events and states into your mind. In order to correctly understand the details of the program and repair the program in case of errors, you need to know the state of the program itself in various cases.
The process of writing code can let you clearly grasp the working mode of the program. However, the program will never stop changing. You will find errors, add new features, or modify existing behavior. Even if the initial organization of the program is very effective, it does not mean that its structure is always correct. You need to spend time combining situations, considering future needs, and cleaning up the mess when there are accidents.