SIMPLICITY
Complex code is difficult to understand and debug. Writing complicated code won't make you look like a wizard. Use simple algorithms and coding constructs. Simplicity is the ultimate sophistication.
Simplicity is prerequisite for reliability.
USABILITY
The main purpose of your code is that it should work and solve the problem for which it has been written. If your code fails to work as per your or other's expectations, it can't be considered a good code.
READABILITY
Good code makes it easy for other programmers to understand what you have written with a minimum amount of time and effort. A good naming strategy, smart use of comments, and clear control flow are the vital ingredients that you need.
TESTABILITY
Testable code is code that makes automated testing quick, easy, and enjoyable. Each component of your code should do what it's supposed to do and this should be verified by using independent tests.
MAINTAINABILITY
Maintainable code is code that is easy to modify or extend. No matter how well you have written the code, there will be bugs that you will have to fix. More maintainable code allows for easier and faster changes.
SCALABILITY
Scalability is a broad term that usually means the software should be working as it supposed to, even when it is working at a higher scale of things. Now, these "things" can refer to users, data, or lines of code.
RELIABILITY
Reliability of code is the ability to perform the operations consistently without any failures, every time it runs. Reliability can be increased by frequent code reviews and proper error and exception handling.
EFFICIENCY
Efficient code improves functionality and reduces time and space complexity. In other words, efficient code runs faster and uses fewer resources. Often, there is more than one way to solve the problem. Use the best one.
0 Comments