VB 版 (精华区)
发信人: Friend (沙漠绿洲), 信区: VisualBasic
标 题: Avoiding the Top-Ten Design Mistakes(4)
发信站: 哈工大紫丁香 (Thu Jun 24 10:04:58 1999), 转信
发信站: 饮水思源站 (Sun May 30 15:14:17 1999) , 站内信件
4) The developer forgot the oldest maxim of all: "Stuff happens".
In a robust C/S application, much of your code should be there
to deal with the errors (and messages) returned from the server
or the OS running the application. Not only should the application
deal with all of these errors, it should do so from the beginning
when the developer best understands where the problems can best
be trapped and addressed. All too often one assumes that the
network or the available resources will be there and just as readily
available as they are when the application is written.
--
※ 来源:·饮水思源站 bbs.sjtu.edu.cn·[FROM: 202.120.18.28]
--
☆ 来源:.哈工大紫丁香 bbs.hit.edu.cn.[FROM: Friendsp.bbs@bbs.sjt]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:3.258毫秒