Most of the bug coming from wrong interface data, it means the program segment can not process the exception, same as body. The body keep "exception" out of skin, and maintain the internal environment stable.
The body can be very stonge and robust, but it may lost many, plant can live long, they have cell shell, but they can not change greatly to fit with the environment, flood, fire can destory it.
Red cell, white cell ( I don't know how to spell it), it will check the input, output of each cell and looking for if there are something strange, if so, it will be destoryed.
How about software? the garbage clearning? not only memory garbage collect, but the wrong input/output subcall, destroy it and release procedures, and learning, and growing, and being smarter, and imm....
[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7570639/viewspace-927283/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/7570639/viewspace-927283/
本文探讨了软件中异常处理的重要性,并将其与生物体对外界环境的适应能力进行了类比。作者强调了软件应当具备自我修复的能力,不仅限于内存垃圾回收,还包括错误输入输出的子调用等,从而使软件能够学习、成长并变得更智能。
1663

被折叠的 条评论
为什么被折叠?



