Have the computational hygiene, if you like, to only go through accessors, only go through methods that are actually provided to you as you do this.
请大家注意计算卫生,如果你喜欢这么说的话,只通过访问器访问数据,当你访问数据的时候,通过提供给你的方法来访问。
I start off, either I take this path and carry on, or I take that path and carry on, but each box, if you like, gets touched exactly once.
程序开始后,或者采取这条路径然后继续,或者采取那条路径然后继续,但是每个图形,如果你喜欢这么说的话。
Well if you're of lower status, lower social status, the judge is going to look at you and say, "Come on, you're poor, your neighbor's rich, I'm going to side for the neighbor."
如果你社会地位低,法官会看着你说,“得了,你这么穷,你邻居很有钱,我站在你邻居这边“
If you ask them why it matters, they say, well it's pretty obvious-- it's all their investor psychology that we have to deal with.
如果你问为什么这么重要呢,他们说,这很明显,因为我们要考虑投资者的心理
So now, Achilles really blows his top and from the quarrel, and finally when he says, "Okay, if that's what you're going to do to me, I'm taking my armor and I'm going home."
这时阿喀琉斯已经忍无可忍了,最后他说,"如果你要这么对我,我就卸甲归田了"
Well,I suppose it doesn't strike me as an implausible thing to say that if everybody in the troop got killed and you would have gotten killed had you been there, but instead,the person you hired to take your place gets killed, then he took your place.
我想可以这么说,如果大家都被杀死,而你若是在战场上也被杀了,但被杀的却是你花钱雇来的人,他就代替了你。
So, you know, you can start writing your own kind of, Miss Manners book, if you like, I mean, are what are good programming, you know-- I wonder what you'd call them, John, good programming hygiene?
因此,你知道,你现在可以开始写,自己的女士礼仪书籍之类的东西了,如果你喜欢我这么说的话,其实我的意思是,写一些关于优秀编程习惯的东西?
Now, these comments, frankly, are brain-damaged, or computationally challenged if you prefer.
现在,这些注释,实在点说,没什么用,或者说是对计算有挑战的,如果你喜欢这么说的话。
Right. It's a slight lie, it doesn't have all possible values, but you get the idea. It has, if you like, intellectually, all possible values.
我撒了个小谎,这个空间并没有包含所有的可能的值,你们懂的,理性点说,如果你喜欢,我这么说的话,它包括了所有可能的值。
But if you-- The reason I'm saying that is, you know, you know that you're getting married that day for example, we will excuse you from the quiz to get married.
但是如果你--我之所以这么说,你们懂的,比如你们那天要结婚,我们会取消你的考试让你去结婚。
And I can obviously do the other direction which is I can say skip to index 2 and all the remaining pieces. This lets me slice out, if you like, the front part or back part or a middle part of the tuple as I go along.
很明显我可以从索引2开始切片,所有剩下的元素,这可以让我2,如果你喜欢我这么说的话,取得元素的前面的或者后面的,或者中间的部分。
Well I'm relying on the contract, if you like, that the manufacturer of square root put together, which is, if I know I'm giving it two floats, which I do because I make sure they're floats, the contract, if you like, of square root says I'll give you back a float.
好吧我能靠一些类似合约来保证,如果这么说你喜欢的话,其实就是当求平方根的方法,获得了两个我已经确认了是浮点数的数后,这个类似合约的东西就会保证,返回一个浮点数。
应用推荐