You think, some other day, I don't want to talk today about the probability of one of us dying.
你会想,还是改天再说吧,我今天不想讨论家人会有多少可能性会去世
But you don't want unnecessarily come out and say, "I really like to do this."
你可能不想冒冒然地说“我真想这么做”。
That didn't happen to me -- once I got into the lab, I didn't want to leave. So, I thought, "You know what, I think I'll change the medical school plans and now I'm going to go all the way -- chemistry major, chemistry grad school."
这很好,但我不是这样,我一进入到实验室就不想离开了,所以我想“你知道吗,我想把我学习医学的计划改成化学-,我要学化学专业,读化学研究生“
I stress it in particular because I know you're all going to get into this stage; you've got a problem set due in a couple of hours, you're still writing the code, you don't want to waste time, and I'm going to use quotes on "waste time", doing those extra things to do the defensive programming, you just want to get the darn thing done.
我特别强调了这一点,因为我知道你们都会慢慢成为程序员;,你在写代码过程中造成了一系列的错误,你还在写代码,你不想浪费时间,我想把“浪费时间“用引号圈起来,浪费时间来做因为防卫性程序设计,而带来的这些额外的事情,你只想赶紧把程序写完,这不是一个好习惯,因为当你做完回头。
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教授,和我这么大岁数的人。
应用推荐