Now I got one just simple thing, and I simply have isolated that module inside of that function.What about abstraction?
而现在我只要做一件简单的事,那就是我只需把这个模块,加到函数中去?
Sometimes it's remarkable for all of us if we try to be very prepared-mind-oriented, very proactive around where the most interesting opportunities.
有的时侯,如果我们能时刻做好准备,积极地去寻找那些很有吸引力的机会,那将会是一件很了不起的事。
The other thing you want to do is find the part of the program that is most likely at fault.
你们要做的另外一件事就是找出,最可能出错的那一部分代码。
So this is a thing, Week Number Four, saw very commonly, which was -- this is something we saw commonly and there's a couple of issues here.
所以这是一件事,第四个,一般的分解,那是我们讲解的东西,这里有好几个问题。
So we can think about something I mentioned last time, which is when we're thinking about chemistry and what's really interesting in terms of chemical reactions, it's mostly valence electrons we're talking about, those are the ones that tend to be involved in chemical reactions.
我们可以考虑一下我上次提到过的一件事,那就是如果我们讨论化学,以及什么是化学反应中,真正令人感兴趣的东西,我们讨论的几乎都是价电子,它们才是在化学反应中,真正起作用的部分。
Now you could do a similar sort of thing, but instead of having a candle, you have a paddle wheel, and the paddle wheel is spun by a weight that's dropping from here to here.
那接下来可以做一件类似的事,但不再是蜡烛,我们将它换成一个桨轮,桨轮末端拴一个重物,它可以从这掉落到这。
That' s a selfish thing.
那是一件自私的事。
So let's look at the second example, all right, I keep doing that -- this piece of code from here to here gives me a way of now creating a hash table of size 256.
所以让我们来看一下第二个例子,好的,我继续做那件事,这段代码中从这里到这里,是创建一个大小为256的哈希表。
And that shows you one other nice little thing we want to do, which is if I look in this code notice I set up a variable up here called false Solution Found, initially bound to false.
这显示了我们想要做的另一件事,那就是我在这段代码中设置了一个,名为Solution,Found的变量,初始值设为。
应用推荐