extract method
常见例句
- The Extract Method pattern provides two key benefits
提取方法模式提供了两个关键好处 - As it turns out, Extract Method is an excellent dose of medicine for a method that has been infected with a high cyclomatic complexity value.
在使用的时候,对于被高度圈复杂度值感染的方法来说,提取方法是一剂良药。 - If that logic embodies true business value, however, then you'll want to test it, in which case you'll get to see the Extract Method pattern at work.
但是,如果逻辑中包含真实的业务值,就会想到测试它,这个时候就可以看到提取方法模式的作用了。 - Supposedly this method can extract 60% of the oil in a reservoir.
FORBES: The World's Billionaires - It has developed a method to extract carbon dioxide from industrial emissions and bubble it through seawater to create calcium carbonate, a process that mimics the buildup of coral.
FORBES: Thought Leaders - Fracking, of course, is the controversial method by which producers extract tight oil and gas — a process that uses a concoction of water, sand and chemicals to break those deposits free from the rocks where they rest a mile beneath the ground.
FORBES: California's Clash: Shale Oil or Green Energy 返回 extract method