When I call this class definition, it calls init, init and I give it an x and a y value.
我说过,当我们,调用这个类的定义的时候,它会去调用。
And when you go there, it's beautiful. You get on kind of a winding cable car that goes up the side of the cliff,
当你去那儿的时候,它很漂亮。有点像坐上了驶向绝壁一侧的蜿蜒盘旋的缆车,
OK. What happens if you actually have something that's both syntactically correct, and appears to have correct static semantics, and you run it?
好,当你的代码语法,没错误,并且也有正确的静态语义,你去运行它的时候会发生什么呢?
So, when he was reaching down to the right, for example, the yellow circle up here bended green.
这样,当它去触摸,比如右边黄色圆圈的时候,黄色的圆圈变成了绿色。
Shielding is the term that's used, it brings up a certain image in our mind, and even though that's not precisely what's going on, it's a very good way to visualize what we're trying to think about here.
它带给我们一个确定的画面,虽然那不够精确,但当我们尝试去考虑它的时候,它确实是一种很好,的形象化的方式。
At least you maybe finding that and if not when you look back at the code you then have written you'll realize that in fact it just requires a few lines of code.
至少你会发现这一点,不然的话,在你写完代码,返回去,看的时候你会意识到,实际上它只需要几行代码。
Is art important enough to you that you'd be prepared to watch, look at a masterpiece, if you knew that while you were enjoying it you could die, ? but that wouldn't happen otherwise?
艺术有没有重要到,让你准备好去看,去欣赏一件杰作,如果你知道在欣赏它的时候可能会死,但如果不去欣赏就不会死?
OK. All right, let me show you one other tool that I want to use. Which is, I've written that piece of code, I ought to check it. Well, I could just run it, but another useful thing to do is, I'm, especially as I want to debug these things, is to simulate that code.
好,那么,让我给大家讲下,我想用的另外一个工具吧,也就是,我已经写好了这一块代码,我应该去检查检查,那么我可以去运行它,但是特别是当我想要调试代码的时候。
And when I do that, I'll append it to history.
当我这么做的时候,我同时会把它加到历史中去。
应用推荐