And in fact, under type checking, different languages sometimes fall on a spectrum from weak to strong typing.
实际上,在类型检查的下面,不同的语言会对应着,从弱到强的一个定型范围。
Now when the only types we're dealing with are the built-in types, the ones that came with the programming language, that doesn't really matter.
现在我们对付的数据类型,只有内置的数据类型,也就是编程语言固有的类型。
Well, unfortunately in C, you have to be ever so specific as to what you wanna put in the variable.
很不幸,在C语言里,给变量赋值之前,你必须搞清楚它的数据类型。
And so you get to build your own special purpose programming language that helped you solve your problems in biology or finance or whatever,
你读过的类型都可以,所以你就可以让编程语言按照你的,特殊用途去解决你的生物学,财务或者任何类型的问题,
Well, it turns out C, like a lot of languages, comes out of the box with a whole bunch of built-in variable types.
在C语言还有其他一些编程语言里,都会有一大堆,固定的变量类型。
I love Lisp, but Lisp is certainly in the category of a very weakly typed language.
我爱Lisp,但是Lisp当然,是属于在类型检查比较弱的语言一类。
So we talked about Mr. Bool briefly last week in this idea of true or false, but in C, you don't have a Boolean data type.
我们上周简短地谈论过Bool先生的,真假的逻辑思想,但是在C语言里,没有布尔数据类型。
应用推荐