Have the computational hygiene, if you like, to only go through accessors, only go through methods that are actually provided to you as you do this.
请大家注意计算卫生,如果你喜欢这么说的话,只通过访问器访问数据,当你访问数据的时候,通过提供给你的方法来访问。
proper hygiene and things that nature.
保持卫生整洁以及一些其它的习惯。
So, you know, you can start writing your own kind of, Miss Manners book, if you like, I mean, are what are good programming, you know-- I wonder what you'd call them, John, good programming hygiene?
因此,你知道,你现在可以开始写,自己的女士礼仪书籍之类的东西了,如果你喜欢我这么说的话,其实我的意思是,写一些关于优秀编程习惯的东西?
Some scholars theorize that the ritual purity system reflects an original concern with health or hygiene.
一些学者建立理论,认为宗教仪式的纯度系统,反映了原始的对于健康或卫生的关注。
But, they create a Central Commission of Hygiene and Sobriety which tell people-- encourage people to eat healthfully, and don't just get wasted all the time-- which is what I would have done, I'll tell you that.
但巴黎人很快成立了中央卫生委员会,旨在宣传并鼓励人们,健康饮食,告诫人们不要总是浪费时间,老实说,如果我在那里的话,早就这么做了
Good hygiene is very important.
讲卫生是很重要的。
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.
我举手了吧?,我当然写过犯这种错误的程序了,我也尝试过应用含有这种错误的代码,不错,好的卫生,我还是要用这个词,对我们有帮助,养成写防卫性,代码的好习惯,是你应该做的,一系列事情之一,也是我们日后要做的主要的事情。
Look, part of the reason I'm flaming at you is, something like square root, it seems dumb to write specs on it. Everybody knows what this is going to do. But you want to get into that discipline of good hygiene, good style.
也是非常重要的,我在这里说的,一些理由就是像平方根,为它写规范听上去很傻,每个人都知道它是干什么的。
应用推荐