留心你懒惰的规律。每个人的一天中都有重复循环的懒惰的时间。在这些时间段里你要安排休息。无论如何你总有时间是要用来懒惰的,不是吗?
Notice your lazy routines. Everyone has recurring lazy spots throughout the day. Plan to have your breaks for those times. You're going to be lazy then anyway, right?
黑莓智能机用户经常抱怨,手机上闪烁的红灯告诉他们,无论走到天涯海角,还有一封邮件需要用户查看。
Users of BlackBerry smartphones often curse the flashing red light that tells them, wherever they are, that yet another E-mail demands their attention.
如果不确定,使用它们。如果现在还没疑问,将来无论如何也要用到它们。
When in doubt, use them. If you aren't in doubt, use them anyway.
And you really, wherever possible, want to avoid that exponential algorithm, because that's really deadly. Yes.
比你的电脑的性能增长的快多了,并且大家无论何时,都要避免去用指数级的函数。
So conceptually the key difference here, besides the syntax looking slightly different, it just means that if you want a chunk of code to execute no matter what initially, ; you can use the do while loop; if you want to check a condition first, you can use the while loop.
所以概念上,则关键的区别是,除了语法看起来有点不同,它的意思是如果你想要一段代码,最初无论如何都要执行,你就可以用do,while循环;,如果你想要先检查条件,你可以用while循环。
应用推荐