So it makes sense to be able to say, look for many methods I do want to have a way of doing comparison, and I don't have to remember, at top level, what the name of the comparison method was.
所有我需要的对象进行操作,那么就可以这么说了,我想要在很多方法里面,去找做比较的方法,我并不需要记住,每一个比较的方法的名字。
And so, I don't think I really need a special method to come up with ideas.
所以,我想我不用什么特殊的方法也能想出一些好的点子。
If I had had a clean interface, that I had a specific method to get those values out, I wouldn't have to change anything.
如果之前我创建了,一个清楚的借口,也就是我有特定的,取得这些值的方法的话。
Now you can begin to see the kinds of errors that this method might produce because people forget, they can't remember exactly how much they ate of things, or they may not be willing to disclose everything they ate.
现在你就可以明白各种误差,是由人们的遗忘而产生的,他们无法准确记得吃了多少东西,他们不会透露所有自己吃的东西
So I can't use thinking about the Williams cases as a method of deciding what do I really believe, the body view or the personality view?
因此我不能采用Williams的案例,来帮助我们判断我们应该相信哪种理论,肉体理论还是人格理论?
A good, hygienic way of doing this is, not only do I not go in and change things except through a pre-defined method, I shouldn't read it other Cartesian than through a pre-defined method.
做这个的方式是,我不仅仅要通过提前定义好的方法,来改变数值,我还应该通过提前定义好的方法,来读这个值,我应该用。
And so this doesn't know how to do it, it doesn't have a method to deal with it, so it complains.
因为,我原来是期望做什么来着?,我原来是要对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坐标的方法,这么做可能会更清楚一点,这是很棒的缩写,好。
应用推荐