What does that say? It says if in the code up here I get an exception of that sort, I'm going to go to this place to handle it.
这意味着如果在代码中,我得到一个这样的异常,我能到这里来处理它。
OK, what I would like you to see is I've been printing out, as I went along, actually let's back up slightly and look at the code. There's merge sort.
好的,我想让你们看就是我运行过后,打印出来的结果,我们再回头看一下这段代码,这就是归并排序,输入一个列表。
So in your mind, if you are now the computer program and you are executing this thing from top to bottom, what just has happened verbally is we are stepping into the line of code that says sort left half of elements.
在你们看来,如果你现在是计算机程序,正在从上到下执行一系列指令,刚才所发生的就是我们现在已执行到了这行代码,它告诉你要对左半部分的元素排序。
So, you have this tremendous continuity between the sort of the honor code that was so dominant in the Homeric world, which has now been shifted to the larger unit, which is the polis.
现在你对荣耀法则的变迁应当有所了解了,荷马时期的主流是个人英雄主义,逐渐演变成现在对更广泛的集体,也就是对城邦的担当
Let's run merge sort on it, and then we'll look at the code.
让我们在这个列表上运行归并排序,然后我们在看一下代码。
So we can sort of check the progress of the code.
而并不仅仅是返回一个最终结果。
应用推荐