And they said, "Well, I'm sorry you feel that way, it's incorrect, and you have to take it anyway."
但他们说:“很抱歉你那么像,这是不对滴,你一定要学它“
even if you're going to say something incorrectly, it's okay.
即使你说的可能不对,这也没关系。
OK. I get the two values in, what do I need to do, well, you sort of know that, right?
好,有了这两个输入值了,我接下来将要做的,你知道对不对?
If you, at the end of the semester, haven't agreed with me about this particular claim or that particular claim, so be it.
如果你在这个学期末,还是不对我这个特别的观点持赞同意见,那么顺其自然吧。
So for instance, if a child says to his mother, "I loves you, Mommy," it's a very unusual parent who would say, "Oh, no. The verb agreement is mistaken.
例如,如果孩子对妈妈说,"我爱你,妈妈",很少有家长会说,"不对,动词一致性错了
No? You are from Nanjing, did I get a detail wrong?
不对吗,你来自南京,我记错了吗
You say, yes, it is wrong. Yes.
你说,是的,这是不对的。
Did I do something? Did I not, you know, please you?
我做了什么不对的吗?没有让你满意?
And the problem is, that we want to build this abstract data type, but we'd like to basically know what kind of object is it, and what functions actually belong to it, how do we use them?
然后我对它们运行了这个方法,就是这一小段代码这个方法,这有意义么?,当然没有了,对不对?,因为你知道,当你把两个极坐标,表示的点进行相加运算的时候?
And so to deal with this last one, you need to develop style. All right?
因为为了对付最后的这种问题,你需要形成一种风格对不对?
All right? If you run it, you have a sense of the upper bound, about how much time it's going to take to do this computation, so you're not going to get surprised by something showing up.
第一,这样做意味着没有意外了对不对?,你去运行程序,你已经大致知道运行时间的上限了,因此发生任何事情,你都不会吃惊了。
All right. The rules, though, are, they can only move one disk at a time, and they can never cover up a smaller disk with a larger disk. OK. Otherwise you'd just move the whole darn stack, OK?
好,规则是,他们只能一次挪动一个盘子,并且不能把大盘子放在小盘子上,不这样的话你就直接,把这一堆盘子都挪过来了对不对?
Ah, n times, because for each value of i, I'm going to do that m thing, n*m so that is, close to what you said, right?
因此这就和你说的差不多了对不对?,这个问题的复杂度为,让我写下来,是-对不对,是?
If you can read the code a year later, even code you wrote yourself, it's a good sign that you put good comments in, right?
如果你还能读懂1年前的代码,就算是你自己写的代码,这也说明了你放进去的注释,已经非常好了,对不对?
And yes, you can look at that and say, well is that right?
对,你可以看看然后,想想结果对不对?
Well, you might say it's constant, right?
你可能说是常量对不对?
bug If you find a bug, it probably means there bug are more of them. So you ought to be bug a little bit careful. The story I've heard told is you're at somebody's house for dinner, and you're sitting at the dining room table, then you hear a .
对不对?你得修复这个,如果你发现了一个,可能就意味着还有更多的,因此你应该小心点,我听说的一个故事,是当你在别人家吃饭的时候,你坐在餐桌上呢,然后听到了邦的一声响。
I don't know, John, if you'd agree, right?
我不知道,John,如果你同意,对不对?
Well, you could just try it and see if it works, right? That's what testing is all about.
你可以仅仅的去试试运行程序,然后看看结果对不对?这就是测试的内容。
Where you've got a couple of wishes and you aren't careful about how exactly you state the wish And so you get what you want ? but it ends up being a nightmare,right?
给你几个可以实现的愿望,但是不小心没说对愿望,你得到了自己想要的,却发现那是个噩梦对不对?
OK. Now, having said that, where should I pick to look in this list?
对不对?中值点?为什么呢?,你答对了但是为什么呢?
All right? And if you want to do other things, whoops, sorry-- and add them together, we will get out, again, a concatenation of that string. And these will, we'll let you work through the variations, but these are the simple expressions we can use.
对不对?如果你想要进行一些别的操作,哦,对不起-是加到一块,然后结果值也是,两个字符串的链接,这些会,我们会让大家慢慢学习变量,但是这些是我们能用的最简单的表达式。
It was computing the arctan.
你可以想象的对不对?
You count n leaves--you count the number of leaves.
你数了n片叶子...不对
It's words to you, or to the reader of the code, that are telling you what's going on inside of this code. OK?
注释是一些对你,或者对代码阅读者说的一些话,告诉你这段代码,是干什么的,对不对?
If I have a list ten times longer, it's going to take me more time, so- not a bad guess, I'm still reward you, thank you.
因此答案不对,但是是个不错的猜测,依然要表扬你下,谢谢-,还有人么?恩?线性的?为什么?
You know, you can do the simple numbers, right?
你知道那种简单数字的运算的,对不对?
You've added a redundant 's.' It's not appropriate."
你多加了一个's',这是不对的"
应用推荐