It occurred to me it'd be a great magic trick if I then appeared in back.
如果我突然在后排出现,那就是非常精彩的魔术了
For this trick I'll need my magic wand of dereferencing.
对于这个技巧,我将需要一个魔杖。
How do we take a complex program, again, divide and conquer, I feel like a 1-trick pony, I keep repeating the same thing over and over again.
同样的先分解再逐个击破,我就像只会一个把戏的小马,我不断重复相同的事情。
So I'm using the same kind of tricky language that we'd used before, not to trick you, but so that you're not tricked in the future.
我这次用了和以前一样,迷惑性的语言,不是为了迷惑你们,而是,让你们以后不会被迷惑。
I mean I'm not going to try to trick you or throw in things just to make sure you come to class, but it's usually a pretty good policy.
我不是和你们耍手段,也不是为让你们来上课而随便说说,但这通常是个好方法
In the case of a recursive exponentiator, I'm going to do the following trick.
在这个迭代求乘方的例子里面,我会用这么个小把戏。
And in particular, I'm going to cheat slightly I'm going to use a little bit of abusive mathematics, but I'm going to show you a trick to figure it out.
尤其要说明的是,我会有一点不属实在里面,我会滥用一点数学,但是,我会教会你们这个小把戏的。
So I'm going to do exactly the same trick we did before.
我将要做的就是,之前演示过的小技巧。
So I'm going to show you a little trick for figuring that out.
因此接下来我会给你们讲一个,算出这个来的小把戏。
So let me show you another way I could do exponentiation. Taking an advantage of a trick.
看我怎么用这个小技巧,来求a的b次方的。
And here's a little trick -- and again, we promised to point -- out little tricks of the trade -- if I know I want to execute the last command I typed that started with an m, bangm will actually figure out what that command was and redo it for me so I don't have to figure it out, or you can go back in time in a terminal window.
这里有个小技巧--此外,我们许诺指出行业中的,一些小技巧-,如果我知道我想执行我写入的上一个命令,是以m开头的,!m会明白那个命令是什么,然后为我恢复上次操作,所以我不需要明白它,或者你可以回到,那个终端窗口。
I'm doing a little trick by the way, I'm using raw input in my function here as a just a way to stop the display.
顺便说下在这儿我有个小恶作剧,在这个函数中,我使用了raw,input方法。
I then assign thankful true, if so, but notice this little trick: -- I'm going to keep doing this while I am bang thankful -- bang exclamation point means "not," so this is shorthand, sort of clever elegant notation for "while I'm not thankful, keep doing this."
然后我给thankful赋true值,如果是这样,注意这里有个小技巧:,我将一直这样做,当我用满意时-,感叹号在这里的意思是“非“,这是一个可速记的,有几分机灵优雅的符号,用来说明:“当我不满意,保持这样做“
应用推荐