This article is not the title party. Let me talk about some of my thoughts.
The problem is the best opportunity
Don't be afraid of encountering problems, but when you encounter problems, get to the bottom of the problem, figure out the reason behind the problem, solve it thoroughly, and each time you solve a problem, you will be able to step up. Over time, you are not afraid or anxious when you encounter problems, but excited.
Will you encounter any problems?
Yes, then you are invincible, invincibility is a kind of loneliness.
To illustrate with a daily example-refactoring
Refactoring
1. Extract function
2. Abstract parent class
3. Abstract template
. . .
When will it be refactored?
When you encounter problems When
you encounter problems When
you encounter problems
such as
1. The original logic is modified or new functions are added, and it is found that the original code is forgotten and difficult to read.
2. When encountering bugs
3. When exporting code documents externally
. . .