If I decide there's a better way to get input, and there is, then I can make it to change what I don't have to change the code that uses the input.
如果我觉得有更好的获取输入的方法,我可以直接改去用这种方式,而不用更改使用了,输入处的代码。
And I would suggest palindrome as a great example of that. That's easy to think about recursively. It's much harder to think about iteratively. And you want to get into the habit of deciding which is the right one for you to use. And with that, we'll see you next time.
其它的问题可能用递归的方式,可以更好的解决,而直接思考可能很困难,这时你就得养成做出,正确选择的好习惯了,下周再见。
And if you have your calculator all set up as you love and you don't want to change it, then maybe you should just go and get an $8.00 scientific calculator that doesn't have any of the graphing functions, because you don't actually need them, so that's a better option for you, you can do that as well.
如果你的计算器里已经按照你的喜好编好了,而你又不想改动,那么或许你可以,去再买一个八美元的科学计算器,它没有任何绘图功能,因为实际上你也用不到这些,所以这对你来说是一个更好的选择,你也可以这样做。
But some origins are more equal than others because there is some natural landmark there.
但某些原点要更好用,因为它们本身也是地标
We're going to do this in four, just for-- just because I think it works out better so everybody tap your foot with a four beat.
我们只做四拍,因为我觉得这样的效果更好,大家都用脚打四个拍子
Which of the various futures that are open to me are likely to give me the better life, leave me better off, measured in terms of pleasure or pain?
也就是向我敞开的各种未来,哪种能给我更好的生活,让我更幸福,用快乐和痛苦来衡量?
We'll coordinate it better this way and just conduct this in three.
我们这样可以更好地配合,用三拍子指挥
And there is no programming language that is better well actually, that's not quite true, there are some better at doing certain kinds of things but there's nothing that you can do in C that you can't do in Fortran.
没有一种编程语言是更优秀的,当然实际上,这并不是完全对的,在做某些事儿时一些语言会更好用,但是没有事情是你能在C语言中做,而不能在Fortran中做的。
应用推荐