Important lesson, so that there would be some predictability in the results and I would have some, if you will, smoke test for knowing whether or not I was getting, my code seemed to be working.
这很重要,因为这样我就可以预测,结果会是多少了,如果你愿意,我们可以做烟气试验,来看我的代码是否工作正常。
Right now, what my code is doing is, it's printing them up for me, which is useful.
它的所有的除数,现在,我的代码要做的就是。
I'm going to use my own special program that will color code things for me in class, but the idea is the same; it's a text editor.
我将用我自己专门的程序,那个会分类为我标出代码的颜色,但是那个思想是一样的,这是一个文本编辑器。
This also, by the way, in some sense, gives me the beginnings of my comments for what the structure of my code is going to be.
顺便说一句,在某种意义上这也是我,对于我的代码结构的,讲解的开始。
Right? If that was the case in that code, then my complexity is no longer log, because I need linear access for each time I've got to go to the list, and it's going to Lisp be much worse than that.
这里的复杂度不再是对数的了,因为每次在列表中,查找需要线性访问,可能还要糟糕,其实,有些编程语言,如。
00 Now I say while i is less than or equal to 100, I write my code, I sleep for a second.
现在我指明当i小于等于,我写下我的代码,我休眠一分钟。
SRC back One is called SRC for Source and one is called SRC.back which was my backup of today's source code in case I screw up.
其中一个叫SRC,用来装源代码,另一个叫,用来备份源代码,以防我搞砸了。
应用推荐