Right eating habit 三大观念及行为的培养
The important thing isn't that you choose the right habit but that you start.
重要的不是你选了那一个,而是你开始了。
Pick one. Any one. I'd suggest an easy one. The important thing isn't that you choose the right habit but that you start.
快选择一个吧。任何一个都可以。我建议选一个简单的。重要的不是你选了那一个,而是你开始了。
It's all right to borrow money occasionally, but don't let it become a habit.
偶尔借点钱倒没关系,但不要养成习惯。
Right, so the things we want you to take away from this are, get into the habit of using pseudo code when you sit down to start a problem, write out what are the steps.
好,这儿我想大家明白的就是,养成解决问题时先写伪代码的好习惯,把步骤都写出来,我想要告诉你们的是一个好的程序员。
And I would suggest palindrome as a great example of that. That's easy to think about recursively. It's much harder to think about iteratively. And you want to get into the habit of deciding which is the right one for you to use. And with that, we'll see you next time.
其它的问题可能用递归的方式,可以更好的解决,而直接思考可能很困难,这时你就得养成做出,正确选择的好习惯了,下周再见。
I've certainly written code that has this problem, I've tried to use my own code that has this problem, and good to us, right, good hygiene, I'm going to use that word again here, of getting into the habit of writing defensive code up front, it's part of that collection of things that you ought to do is a great thing to do.
我举手了吧?,我当然写过犯这种错误的程序了,我也尝试过应用含有这种错误的代码,不错,好的卫生,我还是要用这个词,对我们有帮助,养成写防卫性,代码的好习惯,是你应该做的,一系列事情之一,也是我们日后要做的主要的事情。
应用推荐