So it turns out that he could have picked anything to explain this, and hopefully done out the calculation, and we'll do this ourselves.
结果是他可能用任何事情,来解释这个说法,有希望完成这个计算,而且我们将自己做这件事。
So hopefully, there's an opportunity for actually looping and, ultimately, than doing things conditionally.
所以我就希望,最终有这样一个循环,而不是我重复做这件工作。
Let's hope that all the changes I mad have not introduced a syntax error.
希望我要做的所有这些变化,不会有什么句法错误。
And the other thing you can do is take self reports like the ones you're doing, hopefully do enough of them, and a random enough sample of the population, that you can extrapolate from that sample to the whole population, and try to estimate what people are eating in that way.
还有其他可以做的,比如大家正在做的这种个体调查,希望能把它做的充分些,如果有充足的随机样本,就可以从样本推断出,整个总体,从而推断哪类人有这样的饮食习惯
If you want to get some input from the user, my God I don't want to have to program it to low level zero and 1 just to get keys from the keyboard; please let there have been someone who does that for me and indeed there are an increasingly sophisticated options that you can pull off the shelf.
如果你想获得一些用户的输入数据,我的上帝,我可不希望在键盘上敲入0,1的低水平方式来编程;,希望有个人能帮我做这件事吧,但是现有的选择,也变得日益复杂了。
We expect you to behave responsibly and we will as well. All right.
好吗?我们希望你们能表现的有责任感,我们也会这样做的,好的。
That goes back to that idea of sort of discipline coding. It's easy to have assumptions about what you think are going to come into the program when you writ it. If you really know what they are use them as search, but if you think there's going to be some flexibility, you want to prevent the user getting trapped in a bad spot, and exceptions as a consequence are a good thing to use.
这又回到了规范编码的想法上来了,在你写代码的时候考虑,什么会进入你的代码的思考是简单的,如果你真的知道,他们是用他们来做搜索的,而你希望有一定的灵活性,你想要阻止用户,陷入一个艰难的境地,那么异常是非常实用的。
应用推荐