这听起来很简单,但是用10%的额外时间来轻松处理错误或阻止错误发生将极大地改进用户体验。
That sounds overly simple, but taking even 10 percent more time to work on handling errors gracefully or even preventing errors from occurring at all will dramatically improve user experience.
一旦搞清哪里出问题了,就要问自己如何阻止错误再次发生——或者至少降低错误的发生概率。
Once you understand what went wrong, ask yourself how to prevent your mistakes from happening again-or at least make them less likely.
即使你觉得这样也是可行的,但是通常由于终端程序员无法准确的实用类成员,如果有没有使用权的控制,那么我们就无法去阻止错误的发生。
Even though you might really prefer that the client programmer not directly manipulate some of the members of your class, without access control there's no way to prevent it.
今天的错误阻止你明天再犯。
阻止孩子表达他们的感受是错误的。
如果同步写日志,那么只会丢失一条记录,因为发生的错误最多只能阻止一条审计记录被写到磁盘。
With synchronous log writing, one record may be lost because the error could only prevent, at most, one audit record from being written.
那么,它会试图去阻止那些错误,并为引导用户回到正轨提供帮助。
Then, it tries to prevent those errors and provide help to get the user back on track.
这将帮助阻止在错误的视图中对文件进行修改。
This will help prevent making changes to files in the wrong view.
即便如此,也要特别注意阻止命名冲突和其他错误的发生,尤其是在单个名称空间中。
Even so, take special care to prevent naming collisions and other errors from occurring, especially in a single namespace.
“错误突变”,“或阻止突变”是一个关于种群的突变和生存的理论。
‘Error catastrophe’ ‘or extinction mutagenesis’ is a theory about mutations and survival of populations.
标准的规范解读是错误的:繁荣是“有害的”,所以我们应该阻止或终止繁荣,以防它走得太远。
The standard normative judgment is backwards: it is the boom that is "bad, " and thus should be prevented or halted before it proceeds too far.
系统设计者尝试阻止词典攻击所使用的一种方法是当错误密码提交超过一定次数时暂时禁用该账号。
One way that system designers try to defeat dictionary attacks is by temporarily disabling an account when a wrong password is submitted more than a few times.
这些错误不会阻止服务器启动,但是会阻止服务器的正常运行。
These errors don't prevent the server from starting but do prevent proper functioning.
我可以肯定地说,特里真正错误在于试图阻止媒体小报们报道他的这遭出轨。
No, Mr Terry's real offence was, I am sure, to try to prevent his alleged dalliance being reported by the tabloids.
根据XML 1.0规范的定义,致命错误绝对会干扰和阻止解析过程继续进行。
Defined in the XML 1.0 specification, these are problems that absolutely interfere and prevent parsing from continuing.
而普通员工持股会阻止高级经理做出错误决定的想法也遭重创。
And the idea that ordinary workers who own shares in their firm will stop senior managers taking bad decisions has taken another knock.
Mckendrick的立场是,复杂的识别和感应系统也许仍然需要人类的参与,以阻止问题或者错误的发生。
McKendrick's position was that complex sense and respond systems may still require human involvement to prevent problems or errors.
如果阻止了请求,就会模拟表示失败的ContentManager响应,这导致发出调用的客户机显示错误,向用户表明此操作已经被阻止。
If a request is blocked, a Content Manager response indicating a failure is simulated causing the calling client to display an error which indicates that this operation has been prevented.
仍应该注意,要确保任意两个程序都不会有相同的UID;这种冲突会阻止程序正确装入,通常会导致NotFound错误。
Care must still be taken to ensure that no two programs have the same UID; such a conflict could stop a program from loading correctly, typically leading to NotFound errors.
确保您处于ProcessServer模式,并且没有遇到任何将阻止部署流程的警告或错误。
Ensure that you're in process Server mode, and that you don't have any warnings or errors that will prevent the process from being deployed.
这些文件在使用db2imigr命令时将生成错误,阻止进行实例迁移。
This generates errors with db2imigr, and prevents the instance migration.
fatal表示某个错误阻止了进一步的处理。
修复这个错误的方法是检查造成ExceptionInInitializerError的异常(在堆栈跟踪的Causedby:下显示)并寻找阻止抛出这个异常的方式。
The way to fix it is to examine the exception that caused the ExceptionInInitializerError (shown in the stack trace under caused by:) and find a way to stop this exception from being thrown.
如果您的traceroute导致错误,输出结果可以引导您找到问题所在—即哪个服务器或网络设备可能在阻止您的访问。
If your traceroute results in failure, the output can lead you in the right direction-namely, which server or network equipment may be blocking your access.
阻止你成为一个好听众的五个常规错误?
Are These 5 Common Mistakes Keeping You From Being a Good Listener?
CFO更加客观,也能“阻止我们做出错误的决定,”洛里亚表示,“他们确实给了我们在决策中所缺少的一些自信心。”
The CFO is more objective and 'someone who can prevent us from making any bad decisions,' Mr. Loria says. 'It has really given us a level of confidence that we did not have in decision making.'
但是,象大多数的错误类型一样,阻止它们的出现总比修补它们要好的多。
But, like most bug patterns, it is much better to prevent bugs rather than to fix them.
但是,如果说虚假货币其本身并没有什么错误,那似乎人类的本性里一直有什么在阻止着我们去妥善地管理它。
But, if there is not somethingessentially bad in fictitious money, there seems to be something in humannature which prevents it from being properly managed.
但是,如果说虚假货币其本身并没有什么错误,那似乎人类的本性里一直有什么在阻止着我们去妥善地管理它。
But, if there is not somethingessentially bad in fictitious money, there seems to be something in humannature which prevents it from being properly managed.
应用推荐