3 >> Okay. I'll just go over here to y and get the number 13 set up and then take the wand of dereferencing and just, whoa.
>,好的,我将到y这里,然后存储数字,然后使用魔杖,哇哦。
But here, if I decide I'm going to store things not in x and y, but with some other set of names, for example, I've gotta go back into these pieces of code that use the points, and change them. So I've lost modularity.
除了要改下借口,但是这里,如果我决定,我不把值放在x和y中,而是和其他一些变量名进行绑定,例如这样的话,我就得回到使用这个点的代码,那儿去做更改了。
x and y can be whatever you like, but I picked a very special example You should go back and remember what we did.
你可以任意选取 x 和 y,但我这里讲个特例,你们应该回忆一下上节课的内容
Let's create a graph here that on the x axis it's going to be time, so time zero will be when you first take in a food and then one hour later, two hours later will be shown as you go from left to right, and then we'll have blood glucose level up on the y axis.
我们在这建立一个曲线图,X轴代表的是时间,所以零时间点是你第一次进食的时间,然后一小时以后,两小时以后,是从左到右呈现在图表上的,在Y轴上是你的血糖值
So I don't know don't, John, I would argue if I'd written this better, I would have had a method that returned the x- and the y- value, and it would be cleaner to go after it that way.
我会去辩论这么写是不是更好,我也可以写一个,返回x坐标和y坐标的方法,这么做可能会更清楚一点,这是很棒的缩写,好。
If you go to another neighboring country, that's what they think is naturally x and y.
如果你们到了另一个相邻的国家,这就成了他们所惯用的 x 和 y 方向
You go back to the same x-y plane; here is some vector A.
回到刚才的 x-y 平面上,这是某个矢量 A
Now, we are done because now we can ask how high does it go, and you go back to your y of 1 is 15+10-5, which is what?
现在问题解决了,因为我们可以算出,最高点的高度,你回到这个式子,求出y=15+10-5,是多少
应用推荐