• "It could be a pseudonym,". "It could be a code name, but please be assured it's not the Rahul that you think it is."

    VOA: standard.2009.10.30

  • I'm not going to do it for you, but what would I think about doing when I change the code?

    要改变代码应该做什么呢?,我不会帮你们做这些,但是我在改编代码的时候会想什么呢?

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

  • Up on the screen, I've got-- I commented it out, but I've got a piece of code that you've seen before, right up here. OK?

    我现在在大屏幕上标出来的,是你们以前看过的一段代码,就在这儿?

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

  • "It is a fact,unfortunately, that the word democracy has become a code word in recent years for regime change and maybe for armed intervention regime change, but at the end of the day, there is a core value that Americans have stood for, that we have to continue stand for, and we can't allow that as well to become a fundamental impediment to improving the relations we are talking about."

    VOA: standard.2009.04.24

  • But there's a key line of code that I lost over a moment ago and that was this one here.

    但是我刚才漏了一行关键的代码,就是这里的这一行。

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

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

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

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

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

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

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

  • In any event, many scholars through their analysis of these texts have been led to conclude that the Deuteronomistic School updated and revised earlier laws, particularly laws in the Covenant Code, but sometimes also in the older legal stratum of P; and they did so in keeping with the circumstances of the eighth to sixth century.

    在任何事件中,许多学者通过分析都,得出结论即申命记学派更新,并修订了早先的律法,尤其是契约法典中的律法,但有时也包括比较早起的祭祀派律法;他们这样做,是为了与公元前6世纪到8世纪保持一致。

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

  • So at this point, now the code's getting a little more interesting, but it's also getting a little bloated.

    所以在这里,现在代码变得更有趣了,但是它也显得有点臃肿。

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

  • But if I did have two lines of code or more, I would in fact need to put those back.

    但是如果我的确有两行或更多的代码,我其实应该把花括号加上。

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

  • We won't make you write dramas like Pirandello, but we're going to try make you at least write good code.

    我们的函数中的东西,我们不会让你去写皮兰德娄的荒诞剧,但是我们会教你写漂亮的代码。

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

  • This seems a little weird, but bear with me for second, in fact, I've given you a little piece a code to do it, which is the next piece of code on the hand out.

    这看起来有点奇怪,但是先听我说,实际上我给了你们一段做这件事的代码,就是发给你们的纸张的下一段。

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

  • I want to show you how easy it is to change the code. But, notice, once I've added this I actually have a problem. This is now an under-constrained problem. I have more unknowns than I have equations.

    我加上这个条件后,我马上面临一个问题了,这就是现在是一个非约束性问题了,我的未知数比方程数多,你从代数中可以知道。

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

  • If somewhere later on in the code it shifts to string, I might not be manipulating that and getting actual values out, but not what I wanted, and it's going to be really hard for me to chase it back.

    然后后面的一些代码,把变量类型变为了字符串,我可能不会通过实际操作,去取得实际的变量的类型,但是这并不是我想要的类型,而且对我来说把类型,变回去也很困难。

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

  • This chart, very boring and uninteresting but useful to say there are very well defined rules as to when you're writing code, what operators, like what syntax should get evaluated first.

    这个图表,看起来很烦,很无趣,但是它很有用,有非常明确的规定,譬如,当你写代码时,就会涉及操作符的优先级。

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

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

    我将用我自己专门的程序,那个会分类为我标出代码的颜色,但是那个思想是一样的,这是一个文本编辑器。

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

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

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

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

  • What that basically says is the following: in an interpreted language, you take what's called the source code, the thing you write, it may go through a simple checker but it basically goes to the interpreter, that thing inside the machine that's going to control the flow of going through each one of the instructions, and give you an output.

    也就说,如果是解释语言的话:,你要写一些叫做,源码的东西,你写的东西会经过一个简单的过滤器,然后解释器会处理你的源码,解释器会产生一个,逐条读取你的源码的,控制流,然后返回一个输出结果。

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

  • But for the next week or two when you're writing programs, at least for the first time, generally if you're trying Scratch to debug them like you might have been trying to troubleshoot Scratch, you're probably going to reason - through it by looking through the your code -- -- top to bottom, maybe engage a staff member for help -- but your friend will also be printf.

    但是,在接下来的一两周内,当你们写程序的时候,或至少在第一次写的时候,通常如果你在调试程序,就像你们可能已经试着调试过,你们或许是通过查看你们的代码,来推断你们的程序-,从头到尾,可能还需要别人的帮忙-,但是你的朋友也将要打印输出。

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

  • As shown in this cartoon here, again you don't need to know the details of this, but if you're interested in knowing what's the biological bases of the genetic code this is it.

    像这个动画里画的那样,这里你也不需要了解细节,不过如果你很有兴趣想知道,遗传密码的生物学基础

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

  • We could certainly implement this much more efficiently by just writing this one line of code, but, again, the key here is to take this step toward decomposing our code into chunks of code.

    我们可以写这一行代码,使代码的执行更有效率,但是,这个关键字用来把我们的代码分解,成一段段的。

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

  • When we start writing code, you're going to see that difference, but for now, don't worry about it, I just want to plant that idea.

    当我们开始写代码的时候,你就会看到区别了,但是现在别担心,我只是想让你们初步有个印象。

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

  • OK. All right, let me show you one other tool that I want to use. Which is, I've written that piece of code, I ought to check it. Well, I could just run it, but another useful thing to do is, I'm, especially as I want to debug these things, is to simulate that code.

    好,那么,让我给大家讲下,我想用的另外一个工具吧,也就是,我已经写好了这一块代码,我应该去检查检查,那么我可以去运行它,但是特别是当我想要调试代码的时候。

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

  • Pseudo code. Now, you're all linguistic majors, pseudo means false, this sounds like code that ain't going to run, and that's not the intent of the term. When I say pseudo code, what I mean is, I'm going to write a description of the steps, but not in a particular programming language.

    伪代码,基于你们都是学语言的,伪代码意味着不正确,这听起来就像是没法运行的代码,这可不是我们学这个的目的,当我说到伪代码的时候,我的意思是要对步骤进行一个描述,而不是某种特定的编程语言。

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

  • So, summarizing better, assert is something you put in to say to the user, make sure you're giving me input of this type, but I'm going to guarantee you the rest of the code works correctly. Exceptions and exception handlers are saying, here are the odd cases that I might see and here's what I'd like to do in those cases in order to try and be able to deal with them.

    所以更好的总结下,断言就是你放在那里告诉用户,保证你输入的是这种类型的,但我能保证剩下的代码运行正确,异常和异常处理做的事,这里有些我能预期的异常情况,并且这里有些情况,我能尝试处理。

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

  • Now that I've written sqrt, I can just use it anywhere I want in the code. You've got to rely on the fact that I wrote it correctly, but you can basically suppress the details of how it's used.

    就是忽略细节,既然我已经编写了sqrt函数,我可以在代码的任何地方使用它,你完全可以依靠,我已经编写的这个函数。

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

  • So input is an int called F, print out to the screen or your piece of paper the value of C. Odds are you only need two, maybe three lines of code for this, but the goal ultimately will be try it on your own.

    所以输入是一个int类型的F,在你的屏幕上,或你们的纸上打印出C的数值,可能你们需要两行或者三行的代码,但是最终的目标需要你自己独自尝试。

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

  • You open what we call the "text editor," the specific one we used on Wednesday was called Nano, -- which is similar to Notepad or TextEdit -- totally simple, kind of dumbed down but in a useful way so that you can just focus on writing code and not learning some new interface.

    你先打开那个“文本编辑器“,就是我们周三用过的叫做Nano的编辑器,这个跟写字板和记事本差不多-,非常简单的,只是通过一种有用的方法而进行精简了的,所以你们可以把注意力集中在编写代码上,而不需要学习一些新的界面操作。

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

  • But let's look a little more carefully at the code for binary search-- for search 1.

    二分搜索算法的代码,那么search,1,这个方法的。

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

  • The standard library, that first line of code, it's not strictly necessary but any time you use a function, a tool that someone else wrote that lives in that so called library, you do need that include line as we'll see.

    标准库函数--第一行代码,严格来说,不是每次都要写的,但是一旦你调用某个别人写,的函数,而这个函数又恰巧位于标准库里面,你就要像我们看到的这样,把它include进去。

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

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

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

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