Now the part of the essay just prior to this explains that he gave this little quiz that you see to some college students when he was giving a lecture.
在先前已经解释了这篇文章的一部分,他把你们所看到这个小测试在他的讲座上,给一些大学生做了。
And that's because it's easier to test small things than big things. And it's easier to debug small things than big things.
这是因为对小一点的对象,进行测试比对大一点的对象进行测,试要简单多了,调试也是如此。
Join the conversation, take a pop quiz, watch lectures you've missed and learn a lot more.
参与到我们的讨论中来,做一个小测试,查看遗漏的讲义,并学更多知识。
OK, not a quiz for points or anything, don't freak out, but I do want you to tell me who these people are. So, what about this person?
我们的课程将由一个小测试开始,别紧张,这不记录分数的,但我希望你们能告诉我这些人是谁?
Besides that--okay,let's take a quiz first.
另外。。。让我们先进行一个小测试。
Now I'm going to give you another little pop quiz here.
现在,我想再进行一个小测试
A test suite is small enough so that we can test it in a reasonable amount of time.
测试集必须小到我们可以在一个,合理的时间内完成他,但是必须大到。
OK. Now, that's a nice simple little test, let's look at a couple of other examples to get a sense of what this will do.
好,那么这是一个很好的小测试,让我们看看其他的一些例子,来明白这个主要用来做什么的。
Let's check it out. I've written a little bit of a test script here, so if we test cell sort, and I've written this so that it's going to print out what the list is at the end of each round, OK.
我们来检查检查,我写了一个小测试脚本,我写这个脚本来测试单元排序,它能够打印出每一轮结束后,链表的是什么样子的。
I don't have to go read what it printed out in the screen. This has returned a value that I can use. Because I could do a test to say, is this a return value? If it's not, I'll do something else with it. So the binding is still there, it simply doesn't print it out.
我不想读到屏幕中打印出来的这行字,程序返回过一个我能够使用的值,因为我可以做个小测试,来说明这是否是返回的值,如果不是,我可以做一些其它的事,而这个绑定依然在这儿,没有打印任何东西。
Well, let's try it. Let's try a little test. OK?
不过我们还是来试试吧,做个小测试怎么样?
What I'd like to do--and this will be the first time I've the clicker thing in the class so let's try out this little quiz and see how it works.
我想要--这是我第一次,在课上使用表决器,所以我们先做个小测试看看效果如何
Another little pop quiz here, and these aren't trick questions necessarily, but if you had to guess what the bigger problem was in the developing world, so let's not just say outside the U.S.
我们再做一个小测试,这不是什么难题,你们猜猜,发展中国家面临最大的问题是什么,我们所说的不是美国以外的国家
As we do these little clicker poll things you can tell me if you find it helpful or not, then we can decide how to continue --whether to continue them in the future.
我们用表决器做这个小测试的同时,大家可以告诉我你们觉得这有没有帮助,然后我们再决定以后是否继续用
Here's another little quiz.
我们再做一个小测试
应用推荐