However, it's a classic case of programming to the corner case (or the worst-case scenario).
但是,它是一个典型的边角条件(或最坏场景)编程。
Any time we make a corner case into an error we need to carefully specify exactly what the error case is so that we can implement it correctly and test it confidently.
每当我们让一种特殊情况变成一个错误时,我们需要细心辨别出错误情况究竟是什么,这样我们才能正确地执行它,并且自信地测试它。
Any time we make a corner case into an error we need to carefully specify exactly what the error case is so that we can implement it correctly and test it confidently.
每当我们让一种特殊情况变成一个错误时,我们需要细心辨别出错误情况究竟是什么,这样我们才能正确地执行它,并且自信地测试它。
应用推荐