首页 新闻 会员 周边 捐助

refactoring 中的翻译疑问----->什么是field ?

0
[已关闭问题]

在看refactoring 的时候,总看到  

field  ,英语能力有限

之后根据上下文来判断的话,

貌似像等同于property 这个单词,

还是就只是"类中的变量"?

 

原文在此...

=============

Temporary Field

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.

=============

Atpking的主页 Atpking | 初学一级 | 园豆:150
提问于:2010-02-04 15:58
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册