AisinGioroHanani

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

    An error from my past project 

Last semester,we were asked to finish a big project in the Java web class.Through my working I of course made and debugged many bugs.

However,I found it was much harder for me when it close to completed.There would always come out some errors said there were some unknown errors happened that the program can not run more when I tried some special input combination with the compiler said no fault existed in my code.So what I could do was try to find the wrong place by try different data and observe what output would they mad.Finally I found what truly made those wrong output was not my program code,but my database code:wrong expression of search and insert operation.

After this experience I truly find how important it is to keep every condition into consideration:when some errors happen,we shouldn't only focus on our code,we should also take notice of other aspects  we use in our program such as database expression grammer.

posted on 2016-03-07 19:15  AisinGioroHanani  阅读(167)  评论(0编辑  收藏  举报