So if you archive it, that's maybe a little hint that either this is just your habit or perhaps that you might actually care about this later in the future, whereas if you delete it, no, you really don't care. Yeah.
如果你把邮件存档,可能暗示这可能,是你的习惯,或者以后还会用到它,相反,如果你删除了它,说明你可能根本不在意这个邮件。
It's a really disgusting habit and you have to stop doing this. It's so impolite.
这真是个令人作呕的习惯。你一定要改掉。这样太没礼貌了。
But for now, it's probably simpler just always use the curly braces just to get into the habit.
但是现在,简单起见,你可以,养成每次都使用花括号的习惯。
That's partly what you have to develop when you get interested in a field: some sense of curiosity about all the details.
当你对某个领域非常感兴趣的时候,你可以培养一种习惯,就是对细节的好奇心
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.
其它的问题可能用递归的方式,可以更好的解决,而直接思考可能很困难,这时你就得养成做出,正确选择的好习惯了,下周再见。
But overall, you want to make sure you have a healthy diet.
但整体上,你要确保你有一个健康的饮食习惯。
Let's say, just say that you're wanting to change your own diet to improve your health.
比如说,你想改变自己的饮食习惯,使自己更健康
just little things you are not used to.
很多你不习惯的小细节。
And get into the habit of using it to help you define what is the flow of control.
然后是养成用伪代码,来帮助你定义控制流的习惯。
But if you're the type who prefers to be bed by midnight, that's quite okay too; there'll be plenty of time to work on the project.
但是,如果你习惯半夜睡觉,也同样可以,你还有足够的时间完成这个项目。
You want to write the specs so that everybody does in fact know what this piece of code is doing, and you're writing it each time around.
但是你得养成良好的习惯和编程风格,你得撰写规范说明从而保证,每个人都知道这段代码是干什么的。
If you think about what ancient food gathering habits used to be like, you see things like this where people are out gathering food that is growing naturally, and you can think about what would-- what sort of conditions this would create and what kind of hardships it would create.
如果你想知道古代食物采集的习惯,请看这张图,人类都在野外采集自然生长的食物,你可以设想到,条件有多恶劣,生存有多艰难
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.
我举手了吧?,我当然写过犯这种错误的程序了,我也尝试过应用含有这种错误的代码,不错,好的卫生,我还是要用这个词,对我们有帮助,养成写防卫性,代码的好习惯,是你应该做的,一系列事情之一,也是我们日后要做的主要的事情。
应用推荐