So for example I defined p, remember back over here, as a Cartesian point, but I can actually ask for its polar form.
我可以要求返回它的极坐标形式,这里对我是可访问的,好,这很棒,请再记另外一个为什么。
This is a great pattern that you can use to express a level of certainty,
这是一个很棒的句型,你可以用它来表示某种程度的肯定,
We started off talking about binary search, and I suggested that this was a log algorithm which it is, which is really kind of nice.
我告诉了你们这是一个对,数级的算法,这是很棒的,我们来一起看看这个算法到底做了什么。
And I see those as wonderful learning opportunities for the class.
我觉得这对于每个人都是很棒的学习机会。
Odysseus is the man,the wily Odysseus as Homer calls him, the man of many devices, all of those things are great and they are equally honored along with the physical courage that is so characteristic of these guys.
荷马称奥德修斯是一个老谋深算的人,他是一个足智多谋的男人,而这一切都是很棒的,并且这些品质和肉体上的勇气一样被尊敬,当然,勇敢这是这些人所共有的品质
Yeah, it's great. That's just part of the whole warm feeling that I get there.
是的,那次经历很棒。这只不过是我在那儿得到的温暖感觉的一部分。
I mean, it's a great, great place for a kid to grow up.
我是说,这对于孩子成长来说是个很棒很棒的地方。
And there's some amazing scenes in it where they shave the heads of horizontal collaborators, which is sort of a crude way of talking about French women who slept with German officers-- horizontal collaboration. And at the end of the movie, there was Maurice Chevalier.
有一些很棒的镜头,给那些卧床法奸剃头,这是一种很粗鲁的说法形容那些,和德国军官上床的法国女人,卧床法奸,在电影最后,有莫里斯·舍瓦利埃
And I think that's an amazing way to relieve stress.
我觉得这是一个很棒的减压方式。
so that is a great part of the area.
所以这是那里一个很棒的地方。
But I was invited to come, and I would say as a trailing spouse to become, to work as a counselor on the campus of Earlham College, which is a small, really wonderful and far reaching, -Wonderful, wonderful college.
而我是应邀前往,或者说,是当了个跟班的,做了顾问,留在了厄勒姆学院,这是一所规模不大,但非常优秀,影响广泛,-很棒,很棒的学校。
So, cognitive dissonance motivates me to create an answer that's more comfortable for me, "This must be a really wonderful group with a wonderful bunch of people."
所以认知失调促使我想出另一个答案,让我可以接受的答案,“这一定是一个很棒的兄弟会,里面的人都很棒”
Oh, it's great. I mean I use it too.
哦,这很棒。我是说我也用。
You should see this movie. It's really great.
你真应该去看一下。这是一部很棒的电影。
So it was a really cool experience.
这真的是一个很棒的经历。
it's a great place in London.
这是伦敦一个很棒的地方。
So this is a nice little search-- sorry, a nice little sort algorithm . And in fact, it's relying on something that we're going to come back to, called the loop invariant.
恩,这是一个很棒的小搜索,抱歉,和很棒的小排序算法,事实上,它依赖于一些我们要回顾的东西,被称作循环不变量。
So halfway is the right thing to do, because at each step, I'm guaranteed to throw away at least half the list. Right? And that's nice.
一半以上的元素,对不对?,这很棒,好,大家猜猜这个算法的增长率是多少?,为什么?太对了。
And that's a wonderful thing to have because it gives you that modularity, that encapsulation that basically says, when I create a point, the only way I can get at the values, is by using one of the defined methods, in this case it could be Cartesian, Cartesian and get all the pieces of that.
这是很棒的一件事情,因为它让你有了,模块性以及封装性,这基本上也就是说,当我创建了一个点,我能够得到它的值的唯一的方式,就是用一个定义好的方法,在这个例子中也就是。
So I don't know don't, John, I would argue if I'd written this better, I would have had a method that returned the x- and the y- value, and it would be cleaner to go after it that way.
我会去辩论这么写是不是更好,我也可以写一个,返回x坐标和y坐标的方法,这么做可能会更清楚一点,这是很棒的缩写,好。
应用推荐