The process is called a static kill.
VOA: special.2010.08.07
This demo works wonderfully in the winter months in Boston when we will all be full of static at all times.
在冬天的波士顿,这个实验进行的非常好,因为我们一直处于,充满静电的环境中。
So actually, the problem with static semantics is you'd like it to catch everything, you don't always get it.
因此实际上,你希望静态语义检查,能捕获所有的错误,但是经常结果不是这样的。
We're still close enough to the summer that the air is not just filling us up with extra static electricity, so it's a little more challenging here.
我们现在离夏天更近了,这样空气中不总是,充满额外的静电,所以这时做实验,会有一些挑战性。
You could potentially learn a lot about its function by looking at how it moves, not just a static picture of it.
你会有可能通过观察心脏的跳动,而不仅仅是通过静态的造影图,来了解它的功能
Last time we used printf generally to print a static string, like a hardcoded string, like "David," just for example's sake.
上次我们通常用“printf“,来打印一个静态的字符串,像硬编码的字符串“David“,这只是个例子。
Levels of happiness are essentially static; and anxiety levels and depression levels, as we talked about in the first class have gone up significantly.
幸福水平几乎是静止的;,焦虑水平和抑郁水平,正如第一堂课讲到的,有明显的加深。
So far, we've put looking at static elements.
到现在我们看到都是稳定的元素。
OK. What happens if you actually have something that's both syntactically correct, and appears to have correct static semantics, and you run it?
好,当你的代码语法,没错误,并且也有正确的静态语义,你去运行它的时候会发生什么呢?
And so with these basic building blocks, can you build up much more interesting things and they don't have to be static animations like this.
通过使用这些基础构建模块,你就可以迅速创造出更多有趣的东西,没必要像这个动画一样呆板。
Not everything is going to get caught in static semantics checking.
并不是所有的错误,都会在静态语义检查中被捕获。
This is a static semantic error.
这是个静态语义错误。
Well-- or with something static.
也有静态的。
All right. Why is it a static semantic error?
好,这为什么是个静态语义错误呢?
The last piece of it is, in addition to having static semantics, we have sort of full semantics.
最后一部分是,除了static语义之外,我们还有一些full语义。
What's the point? Again, you can have things that are syntactically legal but not semantically meaningful, and static semantics is going to be a way of helping us decide what expressions, what pieces of code, actually have real meaning to it. All right?
重点是什么?重申,你可以有东西在语义结构的逻辑上有意义,但是在语义上无意义,而static语义,将是一个帮助我们,决定哪些表达,哪部分的代码实际上,有意义的途径,好么?
The reason for pulling this out is, what you're going to see is, that in most languages, all right, Python comes built-in with something that will check your static, sorry, your syntax for you.
讲这些的原因在于,你们将要看到的是,在绝大部分语言中,好的,Python中带着一些,会检查你的static的东西,抱歉,是你的语法。
应用推荐