- Practical Network Automation
- Abhishek Ratan
- 262字
- 2021-07-02 15:21:53
Best practices
As we have now looked at the basics of some of the key components of a program, there is another important aspect of how to write a good program that we will consider.
From a machine's perspective, there is no understanding of how a program is written, as long as the instructions given in the program are in the right format or syntax and the machine is able to interpret each of the instructions correctly. For an end user, again the way the program is written might not be important as long as the end user gets the desired result. The person concerned with how a program is written is a programmer who is writing their own program, or a programmer or developer who needs to interpret another programmer's program.
There may be multiple reasons why a programmer might need to interpret a program that's not been written by them. It may be to support the program while the programmer who wrote the program is not available, or to enhance the program by adding their own piece of code or programming instructions. Another reason for code readability is fixing bugs. Any program or set of instructions may malfunction due to incorrect input or incorrect logic, which can result in unexpected behavior or unexpected results. This is called a bug, and bugs need to be fixed to ensure the program does what it was written for originally.
Every programmer has their own set of best practices, but some of the key aspects of a program are readability, support information, and indentation.
- 集成架構(gòu)中型系統(tǒng)
- Hands-On Intelligent Agents with OpenAI Gym
- Circos Data Visualization How-to
- Verilog HDL數(shù)字系統(tǒng)設(shè)計入門與應(yīng)用實例
- Learning Apache Spark 2
- 程序設(shè)計語言與編譯
- 塊數(shù)據(jù)5.0:數(shù)據(jù)社會學(xué)的理論與方法
- CompTIA Linux+ Certification Guide
- JavaScript典型應(yīng)用與最佳實踐
- 云原生架構(gòu)進階實戰(zhàn)
- 從零開始學(xué)C++
- 數(shù)字多媒體技術(shù)基礎(chǔ)
- 常用傳感器技術(shù)及應(yīng)用(第2版)
- 傳感器原理及實用技術(shù)
- 分布式Java應(yīng)用