"The timeline that we've talked about is actually,in a sense that, if I were to use the surge in Iraq, look where we are right now, sort of apply the same kind of timeline to Afghanistan, as best we can tell, and we think that's reasonable, in terms of having the impact, and then being able to thin our forces out and bring them back".
VOA: standard.2009.11.04
And we're having a difference of opinion as to whether we should use a tuple or a list here, right?
可以“是结果,明白了吗?我们队在这里是应该用数组,还是链表还有一些不同意见对吧?
There are at least two varieties of imagination in the reader's case, so let us see which of the two is the right one to use in reading a book.
读者至少有两种不同的想象方式,所以让我们来看看,哪一种,适合读书。
I'm going to throw it, or raise it, to use the right term to somebody in case they can handle it, but it's a particular kind of exception I might do something like, remind you I have test.
编译器就要抛出他或者提出它,用正确的描述给某个人来处理,但他的确是一种异常,我来做些类似的事情,告诉你我有些测试。
So use work out of right-hand side to run left-hand backward.
利用右边输出的功,来驱动左边的热机反方向运行。
Well, if you knew a cell that could serve as a host for a virus, you could use this process of cell culture to make large quantities of virus,right?
如果你知道细胞可以变成病毒的宿主,可以用培养细胞的过程,制造大量病毒,对吧
All right. In addition to the use of the relationship between plot and story, we also find Brooks using terms that are now, having read Jakobson and de Man, very familiar to us: the terms "metaphor" and "metonymy."
好的,除了运用主题和故事之间的关系,布鲁克斯还会用到很多别的词,等我们读完雅各布森和德曼的作品后会觉得很熟悉:,比如,“比喻“,和,“转喻“
Right, the first skill we want you to acquire, is we want you to be able to use the basic tools of computational thinking to write small scale programs.
好,我想让你们掌握的第一个技能就是,希望你们能使用,计算思维的基本工具,来编写小规模的程序。
What have we done? We've now got a way of collecting things together, right? And this is the first version of something we'd like to use.
用的一些东西的,第一个版本,现在我已经把它和,一个名字进行了绑定。
Right, so how do you use the idea of functions to organize code?
好,你们是怎么利用方法,来组织代码的呢?
So one of the questions is, well, what are the right primitives to use?
因此问题之一是,好吧,要使用的正确基本类型是什么呢?
Notice what it has, it has a bunch of nice things that we want to use, right?
注意它包含了什么,包含了一连串儿,我们想利用的好东西,对么?
And I would suggest palindrome as a great example of that. That's easy to think about recursively. It's much harder to think about iteratively. And you want to get into the habit of deciding which is the right one for you to use. And with that, we'll see you next time.
其它的问题可能用递归的方式,可以更好的解决,而直接思考可能很困难,这时你就得养成做出,正确选择的好习惯了,下周再见。
The format is the same. I'm going to ask for some input, and then I am going to use that procedure to check, is this the right type of value. And I'm trying to use that to do the coercion if you like. Same thing if it works, I'm going to skip that, if it not, it's going to throw the exception.
格式是一样的,我需要一些输入,然后我要用一个过程来检查,是否是正确的值,然后你就可以做强制转换了,如果能运行,那是一样的,我打算跳过这段,如果不正确,那就会抛出一个异常。
I've certainly written code that has this problem, I've tried to use my own code that has this problem, and good to us, right, good hygiene, I'm going to use that word again here, of getting into the habit of writing defensive code up front, it's part of that collection of things that you ought to do is a great thing to do.
我举手了吧?,我当然写过犯这种错误的程序了,我也尝试过应用含有这种错误的代码,不错,好的卫生,我还是要用这个词,对我们有帮助,养成写防卫性,代码的好习惯,是你应该做的,一系列事情之一,也是我们日后要做的主要的事情。
Inside of solve, solve creates an environment where inside of that, it has bindings for the parameters it's going to use. All right?
在solve内部,solve创建了一个环境,在这个环境中它给她要使用的形参赋了值,明白吗?就像很多--等等?
First of all, two parameters. It's OK. All it says is, when I call this, I need to pass in two parameters for this to work. All right? Now, if I want to use that, I'm going to use a second piece of code here, called Barnyard. I'm going Barnyard to read in a couple of values, convert them into integers, and then I'm going to use solve to get a solution out.
注意我得到了什么,第一,两个参数,它的意思就是我调用这个函数,我得给它输入两个参数,明白了吗?,现在如果我要使用它我得用,这里的第二段代码,也叫,我将读入一组值,将它们转化为整型,然后我会用solve得到一个解决方案。
应用推荐