如果你盯着邮箱看,你一定不偏不倚的撞上去。
If you stare at the mailbox you're going to drive smack into it.
我邮箱的地址固定在我父母家,所以无论我住在哪,如果我想要这样做(或者我仅仅等待回去收邮件,给了我一个回家看父母的理由)。
My address for my mail is set to my parents' home, then forwarded to wherever I live, if I choose to do so (or I just wait and go back & pick it up, gives me a reason to see my parents).
看一眼邮箱,发现竟然有382封邮件! !
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.
但是当你看是写程序时,特别是当我们,使用基于网络的东西,你想要,检查用户的输入-,它是合法的吗?它是不是一个电子邮箱地址?,所有的这些场景-,实际上它常常是有用的,当你用枚举结构列举它们,或者用它来快速地来说出它们。
应用推荐