Along the way I have some tests, and depending on the value of that test, I may change where I am in that sequence of instructions.
我会按顺序进行一些测试,按照测试的数值,我会改变之指令序列中,我的位置。
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.
做这个的方式是,我不仅仅要通过提前定义好的方法,来改变数值,我还应该通过提前定义好的方法,来读这个值,我应该用。
Don't go in and change the values of things by using the direct access.
也就是别这么做,别直接去访问,并改变实例中的数值。
OK, this is great.
来改变数值的原因。
应用推荐