Realize in programming languages like C, there is a set of very well-defined rules, and this is in the recommended books.
同样,在像C语言这样的编程语言里,也有,一套非常明确的规则,这些都在推荐图书里面。
How many of you have heard the term used before? How may have you heard the term used before in terms of programming languages? Great. For the rest you, don't sweat it. This is a highfalutin term that computer scientists use to try and make them look like they're smarter than they really are.
这里就要引入递归的概念了,你们中有多少人以前听过这个词?,你们中有多少人在编程语言中,用过这个词?,很好,剩下的同学也不要担心,这是电脑科学家们用来让自己,显得更聪明的夸张词汇。
In C and most programming languages, if you need greater than or equal to, use greater than and then right next to it with no space put equal to, and that conjures up the same idea.
在C和大部分的编程语言中,如果你需要表示大于等于,在“>“号后边加上一个“=“,中间不要空格,那使我们联想到同样的想法。
It's not true, by the way, of all programming languages. In fact, Professor Guttag already talked about that, in some languages lists take a time linear with the length to get to it.
顺便说一句这在大部分,编程语言中做不到,实际上Guttag教授已经说过这一点了,在一些语言中取得数组,要花费时间是线性长度的。
应用推荐