(见第7部分中的清单1。)
这与在后测试版本中做过的重构相似(见第1部分),但是这一次要修改两个不同的方法。
This is a similar refactoring to the one I did in the test-after version of the code (in Part 1), but the change happens in two different methods this time.
当脚本返回时,它会提供新问题的ID,所以可以转到这个例程的第二部分,见清单12。
When it does return, however, it brings with it the ID for the new question, so you can move to the second half of the routine, as in Listing 12.
应用推荐