OK, so how can I code this up? Well, you might think, let's just jump in and write some code, I don't want to quite do that though, because I want to show you another tool that's valuable for thinking about how to structure the code, and that is a something called a flow chart. Now.
好,那么我怎么把这个以代码实现呢,你可能会想,让我们进去直接写代码把,但是我不想这么做,因为我想教给大家另外一项很有价值的,用来组织代码的工具,叫做流程图,现在,像Guttag教授,和我这么大岁数的人。
it's like really, forest sit on that side, so it's really nice to sit down and read a book or something.
那一边简直就像是一片森林,在那里坐下来看看书或干点别的什么将会是件很美妙的事情。
So it might be something like that, a tiny little something that one would set down like a couple of elements.
所以创作的支点可能是类似这些的,很小很小的事情,作者会把它们列出来,就像一系列元素一样。
So let me just to try something a little more interesting, and then we'll get to writing some simple programs.
让我们来试试更加有趣的,一些事情吧,然后,我们再去写一些简单的小程序。
It can be used as a publishing medium and something that you can interact with, instead of something that is a burden to receive.
它可以用作一个发行媒介,成为你可以与之互动的东西,而不再是一个负担。
It is just down the hall from this lecture theater. And you bring the Periodic Table and the Table of Constants and a calculator and something to write with.
就在这件教室下面的大厅那,你们带上元素周期表和常数表,还有一个计算器和一些写的东西。
The cookies were going back and forth and back and forth and the hearts up and down, well, this thing that we had that called a loop last week with a forever block with a statement inside of it is simply gonna look a little something like this.
这些饼干人来来回回的移动,还有这些爱心们上上下下地漂浮,都用到我们上周提到过的循环结构,当然还有个声明在里面,就有点像屏幕上,显示的这样。
And Milton's defense of controversy seems in a lot of ways continually to be slipping in to something like a defense of poetry, or certainly a defense of his own poetic practice.
弥尔顿对于论战的辩护似乎在某种程度上持续地,渐渐变为对诗歌的辩护,或是理所当然地变为对自己诗歌的尝试的辩护。
So, if you use a black lamp or something and you excite something up to a higher energy level and then it relaxes back down to its lower energy state, it's going to emit a new wavelength of light, which is going to be visible to you.
如果你用一个紫外灯或别的,东西把某种分子激发到,更高的能级,然后它会掉回,到低能级,它就会释放,一个新的波长的光,这个光是可见的。
As I say, it's the sort of thing that somebody from the medical school or a biologist or a physiologist or something could describe for us.
就像我说的,这就是一些,医学院的人,生物学家或生理学家,向我们描述的死亡
Under Louis Brandeis -Brandeis wanted companies to always present the information, but for him it always meant presenting a document, so they had something called a prospectus, for example.
路易斯·布兰代斯...,他希望公司能够始终提供信息,在他那个时代,是指提供文档,比如当时称为招股说明书一类的文件
I was thinking of something a little bit less, that's fine.
我本来想得到一个稍微……,很好
What do you have to have to make something a song?
一首歌里,哪些因素不可或缺呢
One might have to do with where it's from and how it's made so that might tell us a little bit about whether something should be defined as a food.
一个是关于食品源自何处,怎么生产的,这会给我们一些参考,去判断何为食品
If I gave this lecture ten years ago, I would say that the fundamental attribution error i s a human universal, something that we're born with, a fundamental aspect of human nature.
如果我在十年前讲这节课,我会说基本归因错误,是人的普遍特性,是我们天生就有的,是人性的一个基本特征。
He tells a story about something he calls "the state of nature," a term he did not invent, but with which his name will always and forever be associated, the idea of the state of nature.
他讲了一个故事,叫做,“自然状态“,这不是他所发明的词,但他的名字,总是会,也永远会和,“自然状态“联系在一起。
应用推荐