Tag: Strong Problem CTI Io Code Time
We write programs every day for technical purposes. There is a problem that may be confused all the time: What kind of program is considered a good program? In other words, what is important to a good program? Or, what does the program need? What are the requirements of the program.
We all know that Maslow's hierarchy of needs theory is intended for humans. Programs are one of the most useful tools invented by humans and are becoming more and more intelligent. The more intelligent the program is, the closer it is to the human brain. It can be said that man is a program written by God. Based on this assumption, I think we can combine Maslow's hierarchy of needs theory and program needs.
Physiological needs
Physiological needs are survival needs. human survival requires various substances, such as clothing, food, housing, and transportation. This is the most basic requirement. For programs, the most basic requirement is to be able to run --Make it work! The operating conditions include CPU, video card, runtime, and binary code. This requirement involves two features: OneTestability, One isPerformance. The speed of running involves performance, just like a person's meal. It is good or bad: You can eat steamed bread, or you can eat the sea flavor. Testability is a means to ensure that binary code is correct and thus can run.
Security requirements
Security needs are what physiological needs can always be met as time or external environment changes. For programs, the security requirement is to be able to run continuously. The terminology isAvailability.
Social networking needs
The social requirement is that everyone wants to get relationships and care for each other. The corresponding program is the interaction of the program. It is useless to separate programs, or to interact with people, to interact with other programs. It seems that the general program meets this feature.
Respect demand
Respect for needs means the recognition of abilities and achievements. For procedures, society is people or other procedures, and what best shows respect for needs is procedures.Ease of use.
Self-fulfillment requirements
This is the highest level of need. It refers to the realization of personal ideals and aspirations, to maximize the individual's ability to achieve the realm of self-realization. This requirement requires continuous growth of people. For programsModifiable. In this way, the program can be continuously improved.
So in general, for a program, we must first ensure that it can work, and secondly, keep working. Finally, it is easy to use and can be modified. With this level in mind, we may feel more direction when writing programs...