Most programmers are familiar with checking in and checking out their code, and know what versions go with which software release.
大多数程序员都熟悉对代码进行签入和签出操作,并知道什么版本与哪个软件发行版是对应的。
Then, I continue to add tests, each time modifying the code by adding new code, changing existing code, and refactoring as I go.
然后,我继续添加测试,每次通过添加新代码、变更现有代码及重新分解的方式来修改代码。
NOTE: Since you probably copied and pasted that code, go back and make sure that each indent is two Spaces, and that no tabs were used.
注:由于您可能是复制并粘贴了这段代码,请返回查看并确保每个缩进都是两个空格,并且未使用任何制表符。
So I'm going to comment those out, and let's go down to this piece of code, and uncomment it.
那么我会把这些注释上,让我们看看这段代码,取消注释。
I will be posting code that you can play with, and I suggest you go through exactly this kind of exercise.
我给你一些你用的上的代码,我建议你们,多进行一些这种实验。
You can say if this is true, then go and do the following pieces of code or puzzle pieces that are inside this part of the block, else go ahead and do these that are down here.
你可以说如果条件成立,执行下面的代码段,或板块中的拼图,否则跳过去执行这下面的语句。
应用推荐