If I wanted every stock to have the same volatility, I could just do that, if you will, at the time I wrote my program.
如果我希望每只股票的浮动值都相同,在我编写程序的时候,如果你愿意的话,我会这么做。
So I'm more of the creative side, like coming up with story boards, stories,
所以我更侧重于创意方面的,比如做脚本,编写情节内容,
But I could write that same policy and write a simulator around it and write populations around it and I could see that effect instantly with a computer.
但我可以写出同样的政策,并且为之编写出一个模拟环境,和一些模拟人群,我就可以立即在电脑上看到结果。
One solution for that is to get a copy of a textbook I wrote called Basic Training in Mathematics.
解决办法之一,就是买一本我编写的教材,书名叫《数学基础训练》
This textbook is very detailed and it may be-- I've had some reaction by students-- more than you wanted to know.
这本教材编写得非常详细,也许会,我听到过许多学生的反馈,涵盖面实在是太广了
And we hope that at the end of the class, every time you're confronted with some technical problem, one of your first instincts is going to be, "How do I write the piece of code that's going to help me solve that?"
并且我们希望到了期末,每当你要面对一些,技术问题的时候,你们的本能之一将会是:,“我怎么才能编写一个代码,来帮我解决这问题?“
The last point I want to make to you is, you've started writing programs that you would think of as being inherently iterative.
能反映递归特性的程序,我最后一点想说的是,你已经开始编写你认为。
So, I wrote some very simple software to receive an email from my BlackBerry and then send it out to an email list of some people I put on that list, with my friends and my family on it.
所以我编写一些很简单的软件,来接收我的黑莓手机发来的邮件,然后将其转发给一个邮件列表,这个列表上有我的朋友和家人。
In Renaissance Italy they started writing insurance policies-- I read one of the insurance policies, it's in the Journal of Risk and Insurance-- and they translate a Renaissance insurance policy and it's very hard to understand what this policy was saying.
在文艺复兴时期的意大利,人们开始编写保单,我看过其中一份,刊登在《风险和保险杂志》上,他们翻译了一份文艺复兴时期的保单,但是很难理解那份保单到底想说什么
Again, imagine if I'm a writing a piece of code.
请再次想象一下我正在编写一段代码。
Second reason we don't want over-qualified students in the class, it sounds a little nasty, but the second reason is, an over-qualified student, somebody who's, I don't know, programmed for Google for the last five years, is going to have an easy time in this course, but we don't want such a student accidentally intimidating the rest of you.
我们不希望高水平的学生来听课,还有一个原因,虽然听起来,有一点儿令人不快,但是第二个原因是,我们不希望,某位我不知道的高手,在为谷歌编写了五年的程序之后,很轻松地上这门课,从而使得周围同学,感到威胁。
Now that I've written sqrt, I can just use it anywhere I want in the code. You've got to rely on the fact that I wrote it correctly, but you can basically suppress the details of how it's used.
就是忽略细节,既然我已经编写了sqrt函数,我可以在代码的任何地方使用它,你完全可以依靠,我已经编写的这个函数。
I give you a little animation that was implemented with this programming language in just a night called Raining Men.
这里有一个用这种语言编写的,叫做Raining,Men的小动画,我只用了一晚上就完成了编程。
It says, with six primitives, I can rule the world. With six primitives, I can program anything.
它说,用六个基本类型,我可以规定整个世界,用六个数字,我可以编写任何程序。
That also encouraged me to really write more and to really think about what is the story, how are people coming to this and like when I show my friends this, how are they going to react.
这也鼓励我编写更多东西,并且真正思考这个故事是什么,思考人们怎么想它,比如我向我的朋友展示的时候,他们会怎么反应。
This is a mistake I make all the time in Python.
在编写Python语言的时候我总是犯这个错误。
应用推荐