It seems obvious to a lot of people that such a thing can happen, that the code can get so bad that the only thing to do is to clean it up while halting or reducing feature progress.
对于很多人而言,这样的事情总是顺理成章:代码太糟糕了,只能停下或者延缓特性开发的进度,对代码进行清理。
Don't try and "clean it up" or "refine" it to make the prototype code production grade.
别试着对原型代码整理(clean up)或提炼(refine)使之成为生产级别的代码。
Event handler that closes database connections or performs other clean-up actions, that code might be called while the user is still working with your solution.
事件处理程序中加入关闭数据库连接或执行其他清理操作的代码,那么这些代码可能就会被调用,而用户仍然在使用您的解决方案。
Frequently, code in error paths is not well tested and does not clean up all objects, such as locks or allocated memory.
通常错误路径中的程序码不会被详细地测试,而且不会清除所有的物件,例如锁定或已配置的记忆体。
Frequently, code in error paths is not well tested and does not clean up all objects, such as locks or allocated memory.
通常错误路径中的程序码不会被详细地测试,而且不会清除所有的物件,例如锁定或已配置的记忆体。
应用推荐