In the current world champion of chess, I think Vladimir Kramnik, was defeated in December by a chess-playing program.
当前的国际象棋世界冠军,弗拉基米尔?克拉姆尼克,就在今年12月被一个国际象棋程序击败
So two totally different things but, I think it's, it's a cool, cool concept and obviously amazing program, company.
虽然这是两个完全不同的行业,但我认为他的概念非常好,是个非常出色的项目、公司。
OK. I know. It looks boring. But it's a structure of the things I want to think about when I go through trying to take a problem and mapping it into a iterative program.
好,我知道这看起来有点无聊,但是这是我要去以迭代的方式,去解决一个问题采取的,措施的大致结构。
In the most straightforward natural meaning of the term, we have to say--I think the program that beat the world champion was called Deep Fritz.
从最直接最自然的意义上理解,我们不得不说,我想,那个打败世界冠军的计算机程序叫深弗里茨
And especially this program, I think they are focusing more on learning
尤其是这个项目,我觉得他们更重视学会
And try and explain to them why you think your program is doing what it's doing.
向别人解释你认为的程序作用,会给你带来很大帮助。
Always guess before you run your program what you think it's going to do.
当你运行程序之前,总是先想想程序会怎么做。
That goes back to that idea of sort of discipline coding. It's easy to have assumptions about what you think are going to come into the program when you writ it. If you really know what they are use them as search, but if you think there's going to be some flexibility, you want to prevent the user getting trapped in a bad spot, and exceptions as a consequence are a good thing to use.
这又回到了规范编码的想法上来了,在你写代码的时候考虑,什么会进入你的代码的思考是简单的,如果你真的知道,他们是用他们来做搜索的,而你希望有一定的灵活性,你想要阻止用户,陷入一个艰难的境地,那么异常是非常实用的。
Whenever I think about how to build an interesting program, and I hope whenever you think about it, the first thing I think about is, what are the classes I might want to have, what are the types?
无论我何时,去想怎样建立一个有趣的程序,你们每次做这种思考的时候,你们想得第一件事,就是我应该要有什么类呢,它们是什么类型的呢?
应用推荐