When I realized that I was writing plays, I read a lot more plays for style and for substance and for technique.
当我意识到我在写剧的时候,我会读更多剧本来学习形式,内容和技巧。
So I would write that and then sometimes I'd have other work for those classes.
我会赶紧写作业,有时还要写其他课的作业。
All right. The fourth thing I'm going to do, is I'm going to then construct the block of code.
好,我要做的第四件事情就是,我会去写这块循环代码。
I'm going to write things on the board, I'm going to post things up on the screen, and so on.
我会在黑板上写东西,我会在屏幕上显示一些内容等等。
My friend Nassim Talib has just written a book about it called-- maybe I'll talk about that--called The Black Swan.
我的朋友纳西姆·塔利博刚刚写了一本书,叫做"黑天鹅现象",以后我会再讲到
I'm going to write something and I'll wait until you guys tell me you're comfortable with this.
我会继续这么写,直到你们告诉我,你们已经看习惯了
Students, graduate students who said I want to do as you do. I want to write about love and sex, the meaning of life and film and one shot is I always say, but where you gonna get a job?
我的研究生有的说,我想和你一样写爱情和性爱,揭示生活的意义,写电影,和,镜头,我会这么回答,你去哪里找工作?
cs50 h It's not called standard io.h, it's called cs50.h. That's where the code we wrote for you will live and then we'll see how to do this in examples today onward but we wrote for you some tools, some functions that calls GetChar for get a character.
当然不是标准输入输出库了,而是叫做,这里面有一些我们写的代码,等一下我会举几个例子,我们写了一些函数,比如GetChar,意思是得到一个变量。
Sometimes I write my feelings down on paper to release stress.
有时我会把我的感受写在一张纸上来释放压力。
And some nights I would put that off pretty late.
有些时候,我会推迟到晚上很晚才写。
I will try and improve the handwriting, there's not much I can do about the accent at this stage.
我会努力写好板书,但是口音暂时不太好改
This is simple. You could write it up very short and that will be a passing grade if you just write it up very short.
但这一篇很简单,你们可以写得很短,我会给你及格,如果你写得短的话。
I take a moment to do some writing.
我会写点东西。
And to see that I've written another version of this, which I'm going to use here, where I'm going to give it a little indentation.
我已经写另一个版本的代码,我将把它用在这儿,我会在这儿加一点儿缩进。
And in particular, if I think about that problem - actually I want to do this- if I think about that problem, I'm going to write a little piece of pseudo code.
关于这个问题尤其要注意的是,实际上当我考虑这个-,问题的时候我想这么做,我会去写一点伪代码。
Is something in the set, or is table member something in the table? Well, what I would have written is something like table dot member.
在集合或者表中有没有存在过呢?,好吧,我会写的是,然后也可能是元素或者表格。
If it was a bearer note " if the note said I'll pay if it wasn't a unique object but just gold the note would say that this goldsmith will pay to the bearer so many ounces of gold.
如果这是一个不记名票据,如果上面写着:“我会付款的,如果上面写着的东西只是金子而不是特别的物品,那么票据上就会显示这个金匠,要给这个不记名者多少盎司的金子。
So I'm going to build something that's going to do iterative exponentiation.
首先我会写一个,迭代乘法的过程。
I'm using it as an abstraction, saying I'm going to have square root from somewhere, maybe I'll build it myself, maybe somebody gives it to me a s part of a library, so I'm burying the details inside of it.
我把这个方法作为一个抽象来引用,意味着我将会从另外一个,地方去求一个数的平方根,可能我会自己写这个方法,也可能我会从别人写的lib中去引用,因此我将实现的细节放到了其他地方。
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坐标的方法,这么做可能会更清楚一点,这是很棒的缩写,好。
And to do this, I'm going to use some code that I've already typed in.
为了达到这个目的,我会去使用一些,我已经写好的代码。
So you'll notice that I'm just going to put in numbers here and then the negative of the number and the numbers are roughly like this: . So the numbers are , , , , and .
你们会注意到我会先写一个正数,然后再写出它的相反数,收益大概如下,分别为,和
shell What I have here is a Python shell, and I'm going to just show you some simple examples of how we start building expressions.
好,这是一个Python的,我会给大家看一些,关于写表达式的简单的例子。
应用推荐