Second thing I want to note is, the little hash mark or the pound sign, that's identifying a comment.
我想要说的第二件事是,这个小斜杠或者是井字号,这是用来标注注释的。
You should read Jahan Ramazani's introduction, read his prose notes that preface his various selections.
你们需要读一下让写的导言,读一下他写的注释,从中可以看出他选编的多样化。
So I've removed the comments, the things that start with slash slash from the slides just so you have an opportunity engage more intellectually rather than just reading the answers off the screen.
我把注释去掉了,那些双斜杠,右边的文字,所以这样你你们可以做一些思考,而不是阅读屏幕上的答案。
There are only three assignments: two six-page papers, that I'll explain how to do. One is a exegesis paper, and we'll spend a whole section discussion talking about what we mean by exegesis and teaching you how to do it.
有三项作业:2篇6页论文,我会讲具体要求的,一篇是注释论文,我们花一整节讨论课,讲什么是注释,如何写注释论文。
So medieval commentators for example began to speak a little bit more openly about some of these features.
所以,中世纪的注释者渐渐开始,提及这些特点。
And then there are particular notes for the different parts of the poem.
然后还有对诗的不同部分的详细注释。
This is reading from the packet assigned for today, and I'm going to ask you to do what you can to get through the biography of Milton in the packet, as well as the notes on Milton's poetry that we have from Dr. Samuel Johnson.
这是今天发的阅读材料里的,我要求你们尽量把材料里的,弥尔顿传记读一遍,还有,塞缪尔·约翰生博士为弥尔顿诗歌做的注释。
There is no reference, in any of the tablets-- I don't know how much we can make of that because the tablets limit themselves to such limited kinds of things that maybe it doesn't prove anything, but in this case, I think it does.
在所有陶土碎片的文字中都没有注释,我不知道我们能够理解多少,况且陶土碎片可供记录的空间有限,也许它们不能证明任何东西,但在这里,我想至少可以证明一点
Well, this is one of the places where I want to come back to that highlighting of what do things do?
好,讲到这里我们得回去,看看高亮显示的关于程序,该怎么运行的注释吧?
In general, good programming style says you put in comments that are going to be valuable in helping you as a reader understand what's going on inside of the code.
通常来说,优秀的编码风格意味着,你要放进去的注释,在帮助代码阅读者,理解代码内部,是怎么工作的。
So let me challenge you with this: inside of these curly braces where I have put a comment with slash slash -- a "comment" means nothing here gets compiled, it's just for the human to read.
让我用这个来挑战你们:,在这些花括号里面,我通过双斜杠写入了一个注释,-一条“注释“在这里不会被编译,它只是用来我们阅读的。
Again, same kind of reasoning says, given some value x, I happened to pick a small one here, what's an easy way to do this? Well, let's just start at one. That's my variable I'm going to change and check.
好,尤其是,让我们到这里来,让我给大家看看第二个例子,让我把这个注释掉,这是我要解决的,第二个问题,假设我想找到一些整数的,所有除数,我想要找出来这个数的所有的除数。
The class is organized first to teach you the methods of the historical critical approach to the New Testament,and help you learn how to do those through exegesis and historical study.
首先,教授研究新约的,历史批评法,帮助你们学会如何进行注释及历史研究。
The next quotation on your handout--this is another example of this.
你们讲稿上的下一个注释,是这个的另一个例子。
The footnote to your Norton here suggests that the gazebo is a summerhouse and by extension it's quite an extension the nationalist movement, and then, "even the whole temporal world."
书上的注释说,楼台指的是凉亭,可引申为民族主义运动,“甚至整个现世世界“
OK, let me comment this out, and let's look at this next little piece of code. All right.
好,让我添加一点注释,然后让我们看看,下面的一些代码,好。
This is a little file I created, all right, and I'm going to start with a sequence of these things and walk them along, again I invite you to put comments on that handout so that you can follow what we're going to do. All right?
这是我创建的一个小文件,好,然后我回去以一系列这样的事情,开始然后进行下去,我还是想大家都在手册上做一些注释,这样我们就能对将要做的事情,做一个记录了,对不对?
If you can read the code a year later, even code you wrote yourself, it's a good sign that you put good comments in, right?
如果你还能读懂1年前的代码,就算是你自己写的代码,这也说明了你放进去的注释,已经非常好了,对不对?
Give you some examples. What have we talked about? We've talked about things like using comments to highlight what you're doing in the code, to make it easier to debug.
给大家举些例子,我们一直在强调什么来着?,我们讲过要用注释来说明,你在代码中进行的操作,以便于调试。
And so, in fact, the version that I commented out which is also in your handout and I'm now going to uncomment, let's get that one out, get rid of this one-- notice the only change.
所以事实上,我之前注释掉的版本,你们的讲义上也有,我打算把注释去掉,我们把他拿出来,把这个丢到一旁,注意下唯一的改变。
Your copies realize have comments that document everything that's going on.
你们的拷贝的注释,记录了代码做的所有事情。
We're checking the end test and incrementing, actually I was going to, I commented that out for a reason you'll see in a second, but I, normally I would keep this on, which would let me, at each step, see what it's doing. If I ran this, it would print out each step. Which is helping me make sure that it's incrementing the right way.
对不对?进行终结测试然后递增,实际上我要,因为某些你们,马上要明白的原因我把这里注释了,但是我通常会一直这么做,这样能让我看到每一步都做了什么,如果我运行这个程序,它会在每一步都,进行显示,这能帮助我让我确信程序是,在以正确的方式递增。
So when you're writing a program in this language and many others, if you wanna make a comment to yourself or for other people who are reading this with their TF or fellow colleagues, you use what are called comments.
当你用这样那样的语言写程序时,为了便于自己或他人,阅读我们写的代码,我们必须得做一些注解,这就是所谓的注释。
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.
顺便作为参考,为了避免我们可能忘记一些代码的意思,我通常会用一两个简单的句子,在上面作出注释,那样会提醒我们这个程序是干嘛的。
It's a little redundant, admittedly, but I include not the same function, but just its prototype, as I say in the comment here.
它确实是有点长的,但是我包含的不是同一个函数,而只是一个原型,就像我这里的注释所说的。
Notice what this does. Certainly the heart of it, right in here, is still the same thing.
注释代码进行的操作,当然代码的核心,也就是这里。
So strings also support things like selection, slicing, and a set of other parameters, other properties. And let's just look at that.
如果我要到这里来的话,就得把这儿注释掉,这里是我已经建立的。
It's words to you, or to the reader of the code, that are telling you what's going on inside of this code. OK?
注释是一些对你,或者对代码阅读者说的一些话,告诉你这段代码,是干什么的,对不对?
应用推荐