In this case, to optimize for the best of the whole community and the whole user base and over the long term and that's important too, your long over short term.
在这个前提下,去寻求整个社会,以及所有用户的长远利益的最大化,这十分重要,我们寻求长期利益,而非眼前利益。
But when you start writing programs, especially when we get to web-based stuff where you want -- to check the user's input -- is it valid, is it an email address, -- and all these different scenarios -- it's actually often useful to be able to just enumerate them or rattle them off using this switching construct instead.
但是当你看是写程序时,特别是当我们,使用基于网络的东西,你想要,检查用户的输入-,它是合法的吗?它是不是一个电子邮箱地址?,所有的这些场景-,实际上它常常是有用的,当你用枚举结构列举它们,或者用它来快速地来说出它们。
Then I started to think, "Is there any way that we can save the consumers' effort and integrate everything, every function, every application, every information needs that a user wishes into one box?"
于是我开始思考,有没有一种办法,使得消费者’,省下精力与时间,将所有功能,所有应用,所有信息,按照用户所希望的,整合到一个搜索框内?
I mean what if you're running so many things, what if the user has copied and pasted their thesis and just pasted it at the blinking prompt such that you're now out of memory because your computer is somewhat limited in memory so get string cannot possibly return all those characters or fit all of those characters in memory and return to you the address of the first.
如果你运行了很多程序,假使用户复制粘贴了他们的论文,只是粘贴在光标提示符那里,这样就出现了内存不足,因为你们的计算机的内存是有限的,所以GetString不可能返回所有的字符,或者保存这些字符到内存中,并且返回第一个字符的地址。
应用推荐