我在没有用户的情况下在系统上运行此命令(请参见清单3)。
I ran this command on the system (see Listing 3) when there were no users around.
但这还是有点吓人,我相信大家都遇到过“嘿,但是它在我的机器上运行没有问题啊”这样的事情。
But that's a bit scary, I'm sure you've all run into the "hey but it works on my machine" issue.
然后我点击了命令解释程序,而不是按F5,我运行了程序而它,并没有按照我认为的那样做。
I then click on the shell, rather than hitting F5, try and run it and say, it's not doing what I thought I should do.
Whereas in the linear case, I make it ten times bigger, it takes ten times longer to run. OK.
它要占用原来十倍的时间去运行,我一直在说还有一件事情没有讲,这是我要强调的最后一件事。
Notice one last piece. If I'm going to do that, run through all possible answers, I still want to know, gee, what if there aren't any answers? How do I return that case?
注意最后一段,如果我要这样做,也就是运行所有可能的答案,我还是想知道要是没有结果呢?,在这个例子中应该返回什么呢?
buggy3 But if I run this thing, buggy three, they've clearly not been swapped.
但是如果我运行它,它们显然没有交换。
应用推荐