That's what this whole theory is about, how to get a lot of expected return without getting a lot of risk.
整个金融理论的中心,就是如何获得高收益,同时降低风险
And then when I get to the very end, I'm going to return the bigger of with i and without i.
然后当我到最后时,我会返回包括i物品,和不包括i物品的,总价值中的较大值。
So I might as well return the without i value I just computed.
所以我不妨返回除去i外,我刚算过的值。
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和。
应用推荐