主要缺点是几乎没有代码重用空间。
The major disadvantage is that there's little room for code reuse.
象往常一样,代码重用无疑是个好东西。
至此,您或许已相信了代码重用的价值。
代码重用的第一规则是代码值得被重用.
The first rule of code reuse is that the code needs to be worth re-using.
该代码重用意味着用户期望更加一致的行为。
This code reuse meant that users could expect more consistent behavior.
然而,跨过程边界的代码重用有更多的问题。
However, code reuse across process boundaries has been much more problematic.
规则架构师在设计时还必须考虑代码重用性。
最主要的是,人们通过拷贝和粘贴来获得“重用”,你决不会对代码这样做。
Mostly, people achieve "reuse" by copy and pasting, which you never do in code.
请计划和设计脚本代码,以便能够最大限度地重用它。
Plan and design the scripting code so that you get maximum reuse from it.
或者,他们可以采用相似的处理过程可视化现有的重用代码。
Or, they can follow a similar process to visualize existing legacy code.
重用测试套件代码模版并填写测试套件驱动表。
Reuse the test suite code template and fill the test suite driver table.
正象我想要的那样,我可以重用DocBook代码。
尽可能重用代码,使你的软件复杂度最小化。
Minimize the complexity of your software through code re-use wherever possible
此代码将重用通过Display类可用的标准系统颜色。
This code reuses standard system colors available through the Display class.
几乎本文的所有代码都是可重用的。
任务是你可以编写最大限度重用和最复杂代码的位置。
A task is the place where you will write the most reusable complex code.
这些重构工作真正重要的益处是得到了可重用的代码。
The really important benefit of this exercise is the ability to harvest reusable code.
幸运的是,这种特殊代码可以封装并重用。
Luckily, this special case code can be encapsulated and reused.
但是,它也不包含明显的可重用代码。
这个原型甚至能够产生一些可重用的代码。
不要把方法细分得过多,仔细想想你真正打算重用的是哪些代码?
Don't split methods too much, think, which code you will really re-use.
委托和事件帮助我们编写模块化和可重用的代码。
Delegates and Events help us to write modular and reusable code.
尽管代码结构类似,却不能直接重用。
Although codes are nearly resemble each other, they cannot be reused directly.
不要把方法细分得过多,仔细想想你真正打算重用的是哪些代码?
Don't split methods too much think which code you will really re-use.
重用您最喜爱的代码片段很容易!
重用您最喜爱的代码片段很容易!
应用推荐