在当代社会,人们上网搜索他们需要的信息已经成为一种趋势。
In contemporary society, it has been a trend for people to surf the Internet for the information they need.
这些网站避开了搜索引擎,所以若在线搜索他们所卖的品牌时,他们的网站是不会出现的。
The sites shield themselves from search engines, so they do not pop up in response to online searches for the brands they offer.
有些贫民窟居民抱怨警察搜索他们的住家。
Some favela residents complained that police ransacked their homes.
And I'm holding meetings twice a day with the engineers and pushing them to move faster and come up with better quality search services.
类似的会议一天两次,督促他们加快开发进度,开发出更高质量的搜索引擎。
And if you come and ask a question that you could have easily answered by doing the reading, coming to lecture, or using Google, they're going to have less patience.
所以如果你过来仅仅是问一个,你能很轻松的,通过阅读、上课、或者,在谷歌上搜索就能得到答案的问题,他们会失去耐心的。
That goes back to that idea of sort of discipline coding. It's easy to have assumptions about what you think are going to come into the program when you writ it. If you really know what they are use them as search, but if you think there's going to be some flexibility, you want to prevent the user getting trapped in a bad spot, and exceptions as a consequence are a good thing to use.
这又回到了规范编码的想法上来了,在你写代码的时候考虑,什么会进入你的代码的思考是简单的,如果你真的知道,他们是用他们来做搜索的,而你希望有一定的灵活性,你想要阻止用户,陷入一个艰难的境地,那么异常是非常实用的。
应用推荐