Briefly describe an error from your past projects that you have recently completed or an error from other projects which impress you most. State the reason, impact of the reason, impact of the error and how did you find it.
遇到的错误有两种让我印象最深刻:1.第一种是比较常见的错误,在写if判断的时候,有时候会把判断的”==”写成赋值的”=”,会引发一系列错误。经常让后续值不正确,或者全为0,更严重的时候会使数组下标访问越界。但是数组下标访问越界抛出异常后查错比较好查,前一种就需要认真的去查错了。2.第二种就是初始化问题,变量的初始化,数组的初始化等,会引起后续运算值的混乱不正确,发现值可能过大或者过小等不合理的值。