I had another debugging experience, but I almost had a cookie shadow.
In fact, the problem is that the cookie is saved in IFRAME. You need to add a response
First, the solution was quickly found. However, there was a mess of problems encountered during debugging. The problem was originally expected to be solved in an hour for three hours.
This is the second cookie in a year. You Need To summarize it.
First, I was impatient. I was able to deal with it in an hour in the initial phase of debugging, and someone was waiting for me. So, after I started debugging, I felt more impatient than before. However, although I think impatience is the first one, it is the least important one.
Second, there is no emphasis on doing things. At first, I felt that this problem should be well solved. Therefore, the debugging method and environment should be well resolved. Actually, the debugging environment was very poor at the time, but I thought the problem was simple and I would like to proceed, every debugging is awkward, which wastes both time and damages your mood. Therefore, if you do not pay attention to it here, you can also say that there are no routines for the method. If you are faced with all the problems, you should first look at the situation, although I felt very simple, I would not waste so much time with the molding model.
There is also a method problem during refactoring. My path to refactoring is from reading refactoring.
After this bookCodeWith Jie Li ). I will take a closer look at the application scenarios and effects of each refactoring method, and ignore the implementation steps. Therefore, ignoring this part, I was retaliated here.
I will perform side refactoring, but there is a lack of fixed methods. I often just need to perform debugging right away after half of the reconstruction, and I completely ignore the steps. So, it is also difficult for you to add your own debugging in an invisible way.
The last point is the variable name. I planted it here. I spent a lot of time in naming problems.
In general, the forming debugging scheme, the correct reconstruction method, and a good working state were the biggest problems at the beginning.
You must remember that you must never make the same mistake again.