Preface to clean code
Why write clean code
- I can say that it is the type that requires a relatively high level of coding.It is not that the code can run ok.I always hope that my code is as beautiful as a poem, and it is pleasing to read.
- I am also suffering from poor-quality code. I can say that my level in the class is pretty good, so I often have classmates or schoolmates who ask me questions. When they show the code to me, it is absolutely Most of them can be regarded as disaster-level. For example, function names or variables are all abc+ numbers, I don't know what this code is for (in fact, my initial code is also like this).
I currently understand the clean code
- The logic is clear and organized.
- Try to be concise and not talk nonsense
- Necessary notes
- Variable names, function names, etc. must be clearly expressed
Future outlook
Clean code is a very good book. I hope I can study hard, practice hard, and become a "code poet".