PROFESSOR 2: I just want to maybe mention that in some of the reading, you'll see terms like object equality and value equality, instead of shallow equality and deep equality.
教授2:我就是想提醒下,大家阅读的时候请注意,你们会看到对象相等和值相等,而不是浅意义相等和深意义相等,教授:好,那么,这个对象。
Some people like to use shallow and deep, object and value, but they're talking about the same thing, which is it the same object or is it the same, in this case, set of values, depending on what you want to define as you use it.
有些人喜欢用对象相等值相等,但是它们是同一件东西,也就是是不是同一个对象,或者是不是同样的,在这个例子中,是同样的值集合,这取决于当你使用它的时候,想要怎么来定义它。
You see an object in motion, you find a and you give a a certain numerical value, 10 meters per second squared.
你看到一个物体在运动,你会发现它的 a,然后给 a 赋值,10 米每秒平方
PROFESSOR: Right, so, this object, this is, right, value quality.
这是,好,值相等,好,这些词语你们都会看到。
Object versus value equality. Particularly when you use double equals, are you asking whether you've got the same object or the same value?
对象与值相等,特别是当你用==时,你得问问自己对象与值是否匹配?
And for each object in 0, we have a value.
对于每个在0中的对象,来说我们会有一个值。
应用推荐