So even though we think of conditions as being Boolean values true or false, really underneath the hood true means anything other than zero.
即使我们考虑,布尔值的真假条件,在底层“真“表示非零。
There's this notion of a Boolean value named after Mr. Bool, which is just a notion of true or false.
布尔值的概念是在布尔先生之后命名的,它是一个正确或错误的概念。
That's what the serpent omitted in his speech. He said If you eat of that fruit of the tree of the knowledge of good and evil, It's true in one sense but it's false in another.
这就是蛇的话语中所忽略的,他说,如果你吃了分辨善恶智慧树的果实,从一方面来说它是对的,但从另一方面却是错的。
More generally, Chomsky suggests that the law of effect when applied to humans is either trivially true, trivially or uninterestingly true, or scientifically robust and obviously false.
更一般的来讲,乔姆斯基认为应用在人类身上的效果律,要么是无效且毫无意义的正确假说,要么就是稳定且明显的错误假说。
And of course, if that's true, then premise three is false.
当然了,如果我听说的是真的,那前提三就是错的
This is just a little inelegant and so one of the things we'll introduce early on is this idea of abstraction or design whereby if you wanna represent the ideas of 0 and 1, true or false, well, let's give them a synonym like true or false.
这么说有点粗野,我要接着讲的是这种抽象的思想,或者用这个来描绘设计出,真和假的思想,我们可以给真假各指定一个同义词。
But the point to think about for next time is just, is it really true that all three of the premises are true, or might one or more of them be false?
但下次要思考的关键是,那三个前提是否的确全部为真,或许一个或几个为假呢
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语言里,没有布尔数据类型。
You can actually declare in C synonyms using special syntax that says, you know what, even though yes at the end of the day I'm implementing false as a 0 and true as a 1, I can abstract away from that detail and use words that are more intuitive to me like true and false.
实际上,你可以用C语言中的特定的语法,你们懂得,虽然到最后,我把0当成假,1当成真来看,我们也可以从这些细节中抽象出来,使用像“真““假“这样更直观的词。
应用推荐