And in fact, under type checking, different languages sometimes fall on a spectrum from weak to strong typing.
实际上,在类型检查的下面,不同的语言会对应着,从弱到强的一个定型范围。
It is going to give me back a tuple a collection of two things, and so check out the syntax.
它将给我返回一个数组或者系列的一对值,然后检查一下语法。
What I am going to do is use these postulates and go through the basis for the Bohr model.
接下来我要利用这个假设,检查波尔模型的根据。
So, let's do a little sanity check now and let's try to demonstrate as much I now claim I'm going to capitalize the copy of the string I just made.
多以,让我们做一个检查,然后做一个演示,现在我声称,我要利用那个字符串的拷贝。
It's just a general checking, but it's always coming back into the breath.
是一种总体检查,但总是要回归到呼吸上。
It seems to me that if you type this you'll get a spell check error.
我拼写不是很好,要是有拼写检查就好了
If we looked at all 30000, genes that were important in each individual how do you pick out which ones are important for a particular disease?
如果我们检查人体中,所有三万个至关重要的基因,要怎样从中找出,导致某种疾病的特定基因呢
Question: Doctor, before you perform autopsy ? did you check for a pulse?
问题,医生,在你开始解剖前,你检查了脉搏吗?
First of all, having read in that value, I can check to see, is it of the right type?
首先,读一下这个值,我们可以来检查看看是不是正确的类型?
So actually, the problem with static semantics is you'd like it to catch everything, you don't always get it.
因此实际上,你希望静态语义检查,能捕获所有的错误,但是经常结果不是这样的。
You know, if you're wandering through Harvard Square and you see an out-of-work Harvard grad, they're handing out examples of square roots, they'll give you an example and you can test it to see is the square root of 2, 1.41529 or whatever.
你知道,如果你从哈佛校园里穿过去,你看见了一个失业校友,正在派发平方根的示例,他们会给你一个例子,而你会检查2的平方根是1。41529或者别的什么。
We'll test our hypothesis, or at least examine it again see if it's, in some sense, repeatable.
我们要测试我们的假设或者至少再检查一下,让我们看看它的结果是不是可以接受的。
The second thing I want to highlight is, that what's going on, is that Python is doing some type checking.
我想强调的第二件事情是,这里发生的是,是Python做了一些类型检查的工作。
And when I'm done with the whole thing, before I end the increment of the variable, you know, when I'm done, I'm just not returning anything out.
在循环外面初始化它,然后做一个终结测试,然后在循环内部有一个指令集,在这个例子中,就是对余数做检查,然后显示信息,当我完成了整个循环。
If there are less than two elements there I just check one or both of those to see if I'm looking for the right thing.
列表里是否剩余超过两个元素?,是否剩余不足两个元素,这里面我就挑一两项来检查下是否运行正常。
Because it said you didn't even take the time to make sure the syntax is correct.
因为那意味着你们根本没有花时间,去检查语法是否正确。
It tells you how you might test something but it doesn't tell you how to.
它告诉你怎么才可能去检查一些事儿,但是它没有说怎样检查。
And so can we do a little sanity check with the simple case here?
对这个简单的例子我们能不能做完整性检查呢?
87 Let's check. Here is sodium plus chlorine. It's 787.
我们检查一下,这是钠加上氯,是。
And so here do we see we can check for equality with zero.
然后这里我们可以检查与0等价的情况了。
These days those things constantly spell check your program for you.
现在这些软件将会为你,做程序的拼写检查。
Which basically says, how much type checking do they do?
这也就意味着,它们会做多少类型检查?
I have not checked the length of the variable called nan.
没有检查变量的长度。
It says check to see if I'm in that base case.
这段代码是检查目前是否是最基本的情况。
This is our little sanity check, the base case.
这是合法性检查,是基本条件。
So I have a little sanity check now.
我们现在做了一个明智的检查。
So let's do a little sanity check.
让我们做一个明智的检查。
So now a sanity check.
现在做一个检查。
I then do a sanity check.
然后我做一个检查。
He can check his memories.
检查他的记忆。
应用推荐