一个类应该只有一个理由去修改它。
只有一个理由需去改变这些;
林肯宣战的理由只有一个,那就是为了维护国家的统一。
坚持的理由只有一个,就算不能赢,也绝不能输。
一个类应该有且只有一个改变的理由。
The Single Responsibility Principle: a class should have only one reason to change.
这个世界上,只有一个人、一个理由能拯救我,那不是别人,正是他——我自己。
This world, there is only one person, a reason to save me, it was none other than him - my own.
真的只有这些理由吗?跟克里斯呆在同一个地方不也是理由吗?
Is that really all there is? What about being in the same city as Chris?
生命对世间的每一个人都只有一次,仅这个理由就足够让我们把每一天都过的精彩。
Life is only once to everyone in the world and that is a reason enough for us to make every day count.
生命对世间的每一个人都只有一次,仅这个理由就足够让我们把每一天都过的精彩。
Life is only once to everyone in the world and that is a reason enough for us to make every day count.
应用推荐