Cause there, you're only dividing the problem in half and half, and half and half, we are doing that here.
因为在那个例子中,只需一次又一次地,对问题进行划分,在这儿我们也是这样做的。
And once you get out, you can only... you're committed to doing one or the other.
一旦你学完了,你只能……你只能做一个或者另一个,
It's a new form of monetary policya new invention which we've been doing only for a matter of months now.
这是一种新的货币政策形式一个新的发明,我们刚刚采用了几个月而已。
A good, hygienic way of doing this is, not only do I not go in and change things except through a pre-defined method, I shouldn't read it other Cartesian than through a pre-defined method.
做这个的方式是,我不仅仅要通过提前定义好的方法,来改变数值,我还应该通过提前定义好的方法,来读这个值,我应该用。
And, as I reminded you at the end of last day, the only reason I am doing this for you right now is I want to elucidate the principles.
就像我上次课的最后跟你们说过的那样,我现在给你们讲这些,仅仅是我想把原理阐释清楚。
In another example, you could explain what you're doing not only at a particular moment,
在下面一个例子中,你可以解释不仅仅在一个特定时间干的事情。
I would try to involve them greater in the process of helping their neighbour and not have us being the only one who is doing it.
我会努力让他们更多的参与到帮助邻国的过程中,而不是我们单打独斗。
or at least one mechanism, I shouldn't say -- the only one-- one mechanism for doing that is going to be to add functions is that it's going to provide both of these things, so the first thing it's going to do is, it's going to let us break up into modules.
我们处理这些的机制--至少一种机制,我不会说只有一种,一种机制是在我们的语言中增加函数,函数的关键是它要提供分解和抽象,所以第一件要做的事,就是将代码分解为模块。
Once I have it sorted I can search it in log n time, but that's still isn't as good as just doing n. And this led to this idea of amortization, which is I need to not only factor in the cost, but how am I going to use it?
一旦对其完成排序,就可以在log,n的时间内对其完成搜索,但是这样做仍然不如n的复杂度,这样做引出了耗时分摊的想法,这时不仅需要考虑耗时的因素?
应用推荐