在看refactoring 的时候,总看到
field ,英语能力有限
之后根据上下文来判断的话,
貌似像等同于property 这个单词,
还是就只是"类中的变量"?
原文在此...
=============
Sometimes you see an object in which an instance variable is set only in certain circumstances. Such code is difficult to understand, because you expect an object to need all of its variables. Trying to understand why a variable is there when it doesn't seem to be used can drive you nuts.
=============