"One of the programming problems was try to figure out how to break an arbitrary chocolate bar into a certain number of pieces of a certain number of sizes and to do it as quickly as possible.
VOA: special.2010.03.11
A couple of really interesting consequences of that, by the way, one of them is, it says, anything you can do in one programming language you can do in another programming language.
一些真正有趣的后果是,顺便说一句,其中之一是,它说你在一种编程语言中,能做的事情,在另一种语言中也能做。
Well, my usual style of programming would be to implement the one that's lowest down in the hierarchy near the bottom.
一般我的编程风格是,先构建等级中最低的东西,也就是靠近地层的东西。
And with like little help from the other people who are around but trying to figure out how to manage the transition from doing that most especially within the period of kind of one of the people's programming.
我们很少向他人求助,都是各顾各,但大家都试图寻找一种,改变现状的方法,尤其当你也是其中一个编程人员。
And we also have starting this Sunday, lead by one of the course's teaching fellows, what we call "walkthroughs," so this is kind of programming lexicon.
我们这周天开始“代码走查“,这个会由研究生助教带领大家,什么叫做“走查“,然后这是一种,编程词库。
In dynamic programming, one of the things that's going on is we're trading time for space.
在动态编程法中我们是在用,空间换时间,除了动态编程法。
Well, realize one of the themes in this course and really one of the themes in programming and solving any problem with a machine is going to be really to just take small bites one at a time out of these problems until the end result ultimately is that you've actually bitten off a fairly large fairly interesting problem and in the aggregate, you've actually implemented something pretty sophisticated.
好吧,让我们先想一下这件事带给我们的主题,编程和解决问题的思想,一台机器最开始只会一步一个脚印,沿着要解决的问题向前迈进,直到最终的结果出来,最后你会发现,你已经解决了一个相当大,相当有趣的问题,而这个问题在最初看起来确是相当复杂的。
So honestly, one of the best strategies in this course and in programming in general is-- generally speaking design, but it's these little tricks of the trade that will honestly make things much more fun, much more easier, and really allow you to focus on the juicy parts of the problem and not little tiny bugs that you may have started tripping over already.
说实在的,这堂课在编程方面最棒的策略之一,简而言之,就是--设计,但这只是一些让事情更简单,更容易的小技巧,让你专注于问题的核心关键,而不是一些可能让你绊倒的,这样或那样的小错误。
Turns out they make stock data and the like available essentially via text files or via a simple API application programming interface which will be one of the themes of the course.
他们基本上是通过使用文本文件,或者通过一个简单的API应用,或者编程接口来获取股票和其他一些数据,这些都是本课程的主要内容。
应用推荐