here"s the thing
in order to learn koa
+ mongoose
, I get up at 5:30 every morning and start working. As a result, I ran into a bug
that can"t be bypassed the other day. It was excruciating. The first thing I did when I opened my eyes was to deal with this problem. I was reluctant to get off the plane at work for two consecutive mornings, and I was almost late.
the result is just now, just now.. It was found that a pair of []
square brackets were left out. I just couldn"t find it over and over again
it"s like this in the company today
Today, in the company, I wrote a chat application through socket.io
. As a result, the name of the triggered event was missing a letter. And looked for it for half an hour
it used to be like this
when writing WeChat Mini Programs"s payment, I encountered a parameter that was case-sensitive. Just because one letter Wechat requires all lowercase, and the first letter I passed is uppercase. Instead, it took a whole day to find out what the problem was
- and more than N
- A li that should not appear at all
- low-level error
- appears all the time .
- every time such a low-level error is found
- can"t help but slap themselves in the mouth
- however, it still doesn"t work
then
I would like to ask my fellow countrymen, how can this problem be avoided as far as possible?
is there a feasible way?