In the Jan.14 issue of the journal Nature, Jackson and a group of scientists announced they have unraveled the genetic code of one common variety.
VOA: standard.2010.02.01
Anytime you find yourself in this pattern, odds are, what you're doing is a candidate for being factored out, hierarchal decompositions is the buzzword you'd see in the textbooks if you're following along with any of them, but it's really just the idea of taking out common code and putting it into just one place.
任何时候你发现你处于这种模式中,可能,你所做的东西是可以提取改进的,体系分解是一个你在课本中看到的流行词,如果你遵循其中一个,这个实际上是一个把相同的代码,放到一个地方的思想。
So in other words, if you terminate these lines early, if you terminate the four loop early, if you terminate an if condition early with that semicolon, the code may very well work; and this is a common source -- of frustration and conundrum because you don't -- because your code looks right and yet it's misbehaving, but that semicolon means stop looking for subsequent lines of related code.
换句话说,如果你用分号过早的终止了这些代码行,如果你过早地终止了那个for循环,如果如此,一个if条件,代码可能可以运行,这就是,挫折和问题产生的源头,因为你没有-,因为你的代码看起来是正确的,但是运行是错误的,那个分号的意思是,停止寻找后面相关的代码。
应用推荐