Now, what did I want to do? I wanted to check membership. I want to do search. Well that's simple. Given that representation and some value, I just say gee is it there?
现在,我需要做什么?,我要做成员检查,我要做查找,这就很简单了,给了即定的表示和一些值,我只需要说喂在那儿吗?
Once you know what pieces to look for, what mental constructs to reach for, can you realize all right I want to make some dancing figures go back and forth, I need to loop this way and loop this way and check if I'm on the edge and so forth.
一旦确定需要查找的部分,想要达到那种层次,你是否意识到,我想做出一些可以来回走动跳舞的人,我需要按这种方式那种方式让它转圈,并检查我是否,到了屏幕的边缘等等。
The format is the same. I'm going to ask for some input, and then I am going to use that procedure to check, is this the right type of value. And I'm trying to use that to do the coercion if you like. Same thing if it works, I'm going to skip that, if it not, it's going to throw the exception.
格式是一样的,我需要一些输入,然后我要用一个过程来检查,是否是正确的值,然后你就可以做强制转换了,如果能运行,那是一样的,我打算跳过这段,如果不正确,那就会抛出一个异常。
So, I have to check for that, but nine times out of ten there's not going to be a problem so now let's do this.
所以,我需要做一个检查,但是通过十有八九,这不会出现问题,现在我这样处理。
应用推荐