However, in the main loop, you have a conditional branch.
然而,在主循环中,您使用了一个条件分支。
Namespaces tend to loop, so you can try to follow a branch to infinity.
名称空间往往会循环,这样您就可以试着沿着一个分枝到无限。
Each branch, loop, or other logic added to the source code is preceded by the writing of an atomic test that will exercise that outcome.
每个分支、循环,或其他逻辑在加入源代码之前都要写出将要执行结果的自动化测试。
So the question was, why is this return down at this level, it says, well if I ever execute out of this FOR loop, I get to the end of the FOR loop without hitting that branch that took me through the return, then and only then do I want to actually say, gee, I got to this place, there isn't any value to return, none I'm going to return none and none.
问题是,为什么它是在这个级别上返回值呢,意思就是如果我出了这个for循环,就意味着我运行的过程中没有走到任何,带return的支路上去,这时也只有这时我才能说天呐,我终于走到这儿了,这时不会返回任何值,只会返回none和。
应用推荐