Your first thought could be that it's time to refactor, but doing so would break the first rule of refactoring, which is to write a test case.
您首先想到的可能是:到重构的时间了,但这样做将打破第一个重构规则,即将编写一个测试用例。
It is generally a bad idea to break something that already exists, especially in this case.
破坏已经存在的东西通常不是一个好做法,尤其是在这种情况下。
In the case of a page header or footer, this division of space might be exactly what's needed to visually break the page content into logical groups.
在页眉和页脚的情形下,这种空间划分也许恰好可以满足在视觉上分隔页面内容为逻辑组的需要。
All from a statement of work, we can derive the feature list and use case diagrams, break up the problem, and then pick a use case to start to iterate.
所有内容都来自于工作说明,我们得到特性列表和用例图,分解问题,然后选择一个用例开始迭代。
You can end up wasting a lot of energy by pushing yourself on by sheer willpower... when, in fact, it may be the case that your brain and body really need a break.
纯粹用毅力勉强自己工作,最终你只会浪费很多精力. .而这时候实际上是你的大脑和身体都真的需要休息一下了。
In contrast, a functional decomposition approach would break a use case into many parts: Obtain Merchant Details; Process Foreign Exchange; Authorize Payment; and Capture Payment.
相反地,功能分解方式将把用例分解成许多部分:获得商业细节;进行外汇交易;授权支付;捕获支付。
We already have a large bag at home for cooking, but I want to get as much as possible just in case it runs out, ” said Fang, a 34-year-old office worker who went salt shopping on her lunch break.
34岁的方女士是一家公司的文员,她利用午休时间出来买盐,并向我们解释道:“家里还有一大袋食用盐,但我还是希望尽可能多买点,就怕万一断货。”
She used her microphone to break into a glass case, where a grand piano sat waiting.
她用麦克风把一个玻璃柜敲碎,一架钢琴在里边安放着。
Why was it unnecessary to include a break statement at the end of each case clause in the monthName method presented in the chapter?
为什么本章中的monthName这个方法里的每个分支,在结尾处不需要包含break语句?
In the latter case, Greeks break the Feta into chunks with a fork and mix it in with the rest of the salad at the table.
如果是第二种做法的话,希腊人就餐时通常会用叉子将这一整块奶酪分成大块,同盘中的沙拉混合在一起。
In continued operation the chain can jump a tooth on the drive sprocket or break entirely, with either case resulting in engine damage from valve-piston collisions.
在继续运作链可以跳转牙齿的驱动器上链轮或完全中断,与任何一种情况下造成的损害阀发动机活塞碰撞。
I believe that the last time I saw the sword of Gryffindor leave its case was when Professor Dumbledore used it to break open a ring.
我相信,上一次我看见格兰芬多的宝剑离开匣子,是邓布利多用它劈开了一枚戒指。
You should have started work on this case analysis early enough in the course so that you now have some time to let your notes sit for a while and take a break.
最好在分析问题过程中尽早地开始工作,这样你现在就有时间休息一下了。
Sticks and stones may break some bones... unless you're a young female chimp. In that case, you're more likely to cradle your stick like a dollie. That finding appears in the journal Current Biology.
棍棒石块打断骨,(言辞不能伤我身)……《现代生物学》杂志上刊登的最新发现表明,若你是一只年轻雌性猩猩,那么你更可能会将棍棒当作洋娃娃抱在怀中。
In any case, even though we had to compete for the next Champions league, after a two year 'break' we would have the morale to do well in the league.
即使我们不得不为下下个赛季的冠军联赛努力的话,那么我相信我们在联赛中的斗志一定非常旺盛。
These authors break the fanfare with two hits: evo psych depends on a relatively static environment over millennia, which evidence shows not to be the case.
这些作者用两个证据对进化论心理学“热潮”进行了挑战:进化论心理学依赖于一个在几千年的时间里相对静止的环境,而证据显示这并非事实。
The sign reads " In case of a fire, break the glass and push the red button."
标牌上写着“一旦发生火灾,打破玻璃,按下红色按钮。”
Finally, the method is used to forecast the tailing flow in case of a dam break of a tailing reservoir.
最后利用溃坝计算方法对某尾矿库溃坝砂流进行了预测。
Finally, the method is used to forecast the tailing flow in case of a dam break of a tailing reservoir.
最后利用溃坝计算方法对某尾矿库溃坝砂流进行了预测。
应用推荐