A class should have only one reason to change.
一个类应该只有一个理由去修改它。
Both sides have good reason to change their tune.
双方都有充分的理由改变基调。
She has no reason to change her attitude about him.
她没有理由改变她对他的态度。
What was the main reason to change it?
改变的主要原因是什么?
A class should have only one reason to change.
一个类应该只有一个原因能引起它变化。
The Spurs certainly have little reason to change.
马刺肯定没什么理由要改变。
A class should have one, and only one, reason to change.
一个类只能因为一个原因而改变。
So the facts could be things that would give you reason to change your behavior.
所以事实可能会给你理由,改变你的行为。
Right now, with your support, there's no reason to change our policy on advertising.
而现在,有你的支持,我们没有理由改变在广告问题上的政策。
The Single Responsibility Principle: a class should have only one reason to change.
一个类应该有且只有一个改变的理由。
Robert Martin reinterpreted the concept and defined the responsibility as a reason to change.
RobertMartin重新解释了这个概念并且定义了责任作为修改的一个理由。
Robert Martin reinterpreted the concept and defined the responsibility as a reason to change.
RobertMartin重新解释了这个概念并且定义了责任作为修改的一个理由。
应用推荐