Often change error

Recently did a project often change errors are:

 

1.null ----------------------------------------------- --------------- this, appeared later, under the personal attention on the line

2. The need to optimize the operation of the local interface or ------------------------------- this, the software must be the need to polish, nor details stereotyped, are based on business needs to in order to prevail user easy to use

3. The logic does not flow barrier, inconsistent ----------------------------- this is bound to change, and this is true errors, strand clear logic is the most important

4. Good user input validation incomplete, inadequate or format restrictions ----------- design a universal calibration settings [] is a better method, and some people watching online design, playing a few hooks for each field, what is not allowed to empty, what formater a fill, is set up. this is a good form.

The concurrent operation ---------------------------------------------- -------- this is a more technical problem, the solution is now: First, timely collect new data from the database the second is, fundamentally, things are processed using, stopped from the database.

 

Many mistakes can be avoided next time

4 and 5 in particular, a number of more technical, sum up the method, the next direct use, will not substantially Error

Guess you like

Origin www.cnblogs.com/fabao/p/11260333.html