• "they would like to receive a message that uses some kind of code, and instead of sending a message that reminds them of their pill, they would like a motivational message, like for example, 'it's time for your life.'" Services like that have been shown to work in low-income countries, and now they're starting to appear in richer countries.

    VOA: standard.2010.02.24

  • Because I might have written some code in which I'm expecting that integer particular variable to have an integer value.

    因为我可能写了一些代码,来把一些,变量的类型,指定为。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • But yeah, there is some code, you know a lot of, sometimes cross browser issues

    但事实上,也有些编码,你知道很多跨浏览器的问题,

    有创意的网页设计师 - SpeakingMax英语口语达人

  • I sit there in idle, and I edit some code.

    我坐在那儿没事儿干,我编辑了一段代码。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • In the case of last year we did hand students some code with which they could write programs that talked to Yahoo Finance, finance.yahoo.com, free website.

    在去年的情况下,我们给学生提供一些,能用来写程序跟雅虎财经的免费网站交互的代码,即finance。yahoo。com,一个免费的网站。

    哈佛公开课 - 计算机科学课程节选

  • So while the relationship of D to some of the laws in the Covenant Code is often--not always but often--one of revision, the relationship between D and the laws in the Priestly source is more difficult to characterize.

    那么,尽管申命记材料和契约法典中的律法的关系,往往是,不是总是而是往往,是修订,申命记材料中的,律法和祭祀派材料的的关系则更难定义。

    耶鲁公开课 - 旧约导论课程节选

  • That creates a problem in the genetic code in that there's 64 possible sequences but there's only 20 some amino acids, so each amino acid can be specified by more than one codon.

    这里有个问题,遗传密码有六十四种可能的序列,而只有二十种氨基酸,因此每种氨基酸都有,不止一种密码子与之对应

    耶鲁公开课 - 生物医学工程探索课程节选

  • Honor to so many of us sounds quaint, like an honor code or the Boy Scouts' code or something like that or something primitive, some kind of primitive ethic which we therefore don't really understand.

    荣誉,对我们中大多数而言,听起来都会很奇怪,这就像是在说荣誉代码,童子军守则或一些类似的东西一样,亦或是一些非常原始的理论,以致于我们根本不知道这是在说什么。

    耶鲁公开课 - 政治哲学导论课程节选

  • A lot of people don't recognize this as marketing, but there are many other forms that we'll talk about in the class, some of which you probably don't even know about, and it's some of which you probably see but don't code it as marketing.

    很多人把这不看成是营销,我们在这门课当中,还会讲其他方式的营销,其中有一些你们甚至都不知道,有些方法你们可能见过,但没把它当做营销

    耶鲁公开课 - 关于食物的心理学、生物学和政治学课程节选

  • And to do this, I'm going to use some code that I've already typed in.

    为了达到这个目的,我会去使用一些,我已经写好的代码。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • OK, so how can I code this up? Well, you might think, let's just jump in and write some code, I don't want to quite do that though, because I want to show you another tool that's valuable for thinking about how to structure the code, and that is a something called a flow chart. Now.

    好,那么我怎么把这个以代码实现呢,你可能会想,让我们进去直接写代码把,但是我不想这么做,因为我想教给大家另外一项很有价值的,用来组织代码的工具,叫做流程图,现在,像Guttag教授,和我这么大岁数的人。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • You will be able to infer from some of our code how in fact you can implement some more sophisticated programs.

    你可以从一些代码中推断出,应该要怎样实现一些较复杂的程序。

    哈佛公开课 - 计算机科学课程节选

  • I know this is a simple example, but when you mature as a programmer, one of the first things you should do when you sit down to tackle some problem is write something like this pseudo code.

    我知道这是个很简单的例子,但是当你们成长为一名程序员后,当你们碰到问题后第一件事情就是,该写一些类似于,伪代码的东西。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • > That lets the compiler know that you want to use some actual compiled code from that library.

    >,那是告诉编译器我们想要在程序库中,使用一些当前的编译后的代码。

    哈佛公开课 - 计算机科学课程节选

  • That was the kind of thing you saw. Asserts said here are some conditions to test. If they're true, I'm going to let the rest of the code run.

    这就是你看到的,断言是一些测试条件,如果他们为真。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Having now used this pseudo code to line things up, I can start putting some additional structure on this.

    用伪代码把这些事情串起来后,我可以开始进行,一些结构方面的优化了。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And for reference, incidentally, in case you ever forget what the point of some exercise was, I'll almost always comment the code up top with a quick sentence or two that reminds you what this program does.

    顺便作为参考,为了避免我们可能忘记一些代码的意思,我通常会用一两个简单的句子,在上面作出注释,那样会提醒我们这个程序是干嘛的。

    哈佛公开课 - 计算机科学课程节选

  • So this first line of code, and some of this again we'll be rehashed but at least you can delight in the awkwardness that is this demonstration.

    因此,第一行代码,有些地方我们需要重新处理下,但至少看到这次,笨拙的演示你会很高兴。

    哈佛公开课 - 计算机科学课程节选

  • Because as you'll soon find, when you're writing programs 0 that aren't just four lines long but are 40 or 400 which very quickly becomes easy, you'll find that even you the next morning have no idea what this code does for whatever reason, and just having some English comments is a huge boon to comprehension for yourself and others.

    你们自己写程序时就会发现,用40行甚至400行代码来代替繁杂拥挤的4行代码0,将会让事情简化许多,你会发现,即使由于某些原因,你不知道如何写代码,先写些注释,于人于己,都是好事,易于理解嘛。

    哈佛公开课 - 计算机科学课程节选

  • It should not be limited or constrained by any transcendent standards or moral laws that do not derive from politics itself, whether a law of God or some kind of transcendent moral order or code.

    它不可以被任何超验的准则或道德条律所,限制和束缚,因为那些并非源自于,政治本身,无论那是上帝的法则,还是,某种超验的道德命令或准则。

    耶鲁公开课 - 政治哲学导论课程节选

  • And they're awfully simple because, all I can do now, is decide whether to execute some piece of code or another.

    它们之所以太简单的原因是:,现在我能做的,就是,决定执行一块代码或者执行另外一块。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And so you'll learn over time both by seeing and by doing that there are generally some good ways, some okay ways, and some bad ways of actually writing code.

    久而久之,你们将通过看和实践来学习到,这里通常有很好的方法,还行的方法,很烂的方法来编写代码。

    哈佛公开课 - 计算机科学课程节选

  • Now we're gonna hand you some framework, that code that we wrote with some blanks to get you accustomed to the idea of one, writing larger programs than time might allow if you were doing it on your own.

    现在就提供给你们一些框架,在代码中有些空白,是为了让你们了解其中的思想,如果是你自己,若时间允许,那就尽量写大的程序。

    哈佛公开课 - 计算机科学课程节选

  • Sudoku And then Sudoku we did last year where it actually becomes a little more interesting where we start providing students not with a blank slate, but with some distribution code.

    我们去年做的,实际上更有意思,我们给学生的不是一块白板,而是一些分布式代码。

    哈佛公开课 - 计算机科学课程节选

  • 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.

    这很重要,因为这样我就可以预测,结果会是多少了,如果你愿意,我们可以做烟气试验,来看我的代码是否工作正常。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And just to look ahead a little bit, you could easily imagine that I might want to not just put a statement in there, what the specs are, I might want to put some constraints. Some specific things to check for, to make sure that you're calling the code right.

    这不仅是抽象的概念还有规范的概念,我们再往前看看,你可以简单的想象得到,我不仅仅是想在这里加一个声明,这些规范说明中我还想加一些约束,我们要注意一些特殊的事情。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So, it frees you from some of Apple's tethers and this was the code that circulated on the Internet iPhone with which people could crack their iPhones.

    这样我们就从苹果的约束下解放出来,这些代码是在网站上流通的,使用它们可能损坏你们的。

    哈佛公开课 - 计算机科学课程节选

  • I should also warn you that this code includes some Python concepts, at least one, that you have not yet seen.

    我得事先说明这个代码中,包括了一些你没见过的Python语言的概念,至少一个。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • OK. Note, by the way, if I chase through each possible path, like there's some IFs in here, if there's some places to go, at least in this piece of code, every possible path through this code ends in a return. And that's a good programming discipline, to make sure that happens.

    注意一下,如果我跟进每一条可能的路径,像是这里的,起码在这段代码中就有很多走向,这段代码中的每一条可能路径,在结尾都会返回一个值,这就是一条很好的编程定律,请确保这样做。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • 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.

    顺便说一句,在某种意义上这也是我,对于我的代码结构的,讲解的开始。

    麻省理工公开课 - 计算机科学及编程导论课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定