If I hadn't written it, I would prescribe it, but that is a little awkward moment.
即使书不是我写的,我也会指定它,但现在会有一点尴尬
Suppose you get a letter from your company saying, congratulations here's a $5 dividend and here's a check for $5 if you owned one share.
假设你收到了公司寄来的一封信,写着,恭喜您,这是5美元的分红,如果你有一股的话,就会收到5美元
There's a mid-term exam halfway through and a final exam at the end, and there's a term paper which is due near the end of the course.
我们在学期中和学期末,分别会有期中考试和期末考试,在本学期快结束时要求写一篇学期论文
Now we can think about the fourth period, and the fourth period is where we start to run into some exceptions, so this is where things get a teeny bit more complicated, but you just need to remember the exceptions and then you should be OK, no matter what you're asked to write.
现在我们可以考虑第四周期,而且在第四周期,我们会遇上一些特例,所以事情有,一点复杂,但是你只需要记住,这些特例然后就没有问题了,无论你被要求写什么。
Because Roman legal structures-- and they even said this in Roman laws-- if you're a judge and you have a rich man and a poor man in your court, of course you're going to decide for the rich man, because the poor man has incentive to cheat; he's poor. But the rich man already has money, he doesn't have any incentive to cheat.
因为罗马法律结构。。。,甚至罗马法律中就这么写着。。。,如果你是法官,一个穷人和一个富人,同时出现在法庭上,你当然会偏袒富人,因为穷人有欺骗的动机,贫穷;,而富人已经很有钱了,没有动机再去行骗。
But very soon will you find that if you're writing programs with lots and lots of functions, and some might call these, and these might call these, you can come up very soon with scenarios where you can not order them top to bottom, because everything is comingled, and there's a lot of cross talk among all of your functions.
但是不久后你们会发现你们写的程序中,有很多很多的函数,有的函数调用这些函数,这些函数又调用另外的函数,你不能用脚本,把它们从上到下排序,因为所有函数相互混合,在你的函数中也有很多交叉。
Since many people write wills, many people take out life insurance, it seems as though the natural thing to suggest is that many, or at least perhaps most, at least many people believe they're going to die.
既然有很多人写遗嘱,很多人上生命保险,似乎很自然地可以得出,至少大部分人,至少有很多人是相信自己会死的。
For the latter, this is a place where running test cases would do a good job of helping with that. Nonetheless, having done that, let's look at a better way to write this. Which is right here it is also, I think, on your sheet, I'm going to uncomment that, and comment this one out, yeah. All right?
对于后者来说,运行测试用例,对它会有很大的帮助,尽管如此,讲完了这些,让我们再来看看更好的,来写这个程序的一种方法吧,也就是这里,我想这程序也在,你们的课堂手册上面,我得先把这里取消注释,然后注释掉这里,是的,对不对?
In this case it would be right here where it says PDF or also download PDF over on the right.
你们会在右边看到写有PDF字样,或者下载PDF的字样
Typically, they'll write a letter saying, congratulations we have great news! We have some new breakthrough and in celebration of this we're going to pay everyone a 5% stock dividend.
一般来说,他们会写封信说,恭喜,有好消息了,业绩有所突破,为表示庆祝,我们将,给每人增发5%的股票股利
Well, one of the greatest philosophers I ever read was Aristotle and I think his Nicomachean Ethics, if you read it, makes a great deal of sense -where you live with this golden mean but at the end use your intellect.
我所了解的哲学家之一是,亚里士多德,我觉得他写的《尼各马克伦理学》,非常有意义,如果你读一读的话你就会发现这一点,-在读这本书时你与他的中庸之道同在,但最终你还需动用你的智慧。
Because of the way that we deal with taxes and mutual funds, you can get a tax bill for gains that were realized by the investment manager turning over the portfolio even though you might not have held the shares during the period when the gains were realized.
因为共同基金的收益还涉及到缴税的问题,所以你会有张税单,上面写着基金的收益部分该缴多少税,即使在实现收益的期间,你并不持有基金股份,但还是要缴税
It was very impactful to start a book that way because I doubt that hardly any readers actually write out a check on the spot to UNICEF; but if you don't, then you are in some sense responsible for the loss of 30 lives.
这是一个有力的开场白,因为我认为几乎不会有读者真的,会写张支票把钱寄给联合国儿童基金会,如果你无动于衷,那么你在某种意义上,要为那逝去的30个生命负责
So my challenge to you, and I know Professor Guttag can do this, my challenge to you is, a year from now, come back and look at code you wrote here.
因此我这里有个具有挑战性的任务,我知道Guttag也可能会说这个任务,我的这个任务就是,一年以后,回头来看,你之前写过的代码。
应用推荐