If you find a matching sock which you didn't so then else.
如果你找到相匹配的袜子就执行接下来的代码,否则就执行其他。
Okay, if you find the sock then put on sock.
好的,如果找到袜子就穿上它。
So this is an 'in shoes', be careful where we are here, this is an 'in shoes in shoes' argument, at which point you might want to invent the sock.
所以这是一个不断换位思考式的过程,注意一下这里的措辞,这是一个换位再换位思考的过程,说明我们也要换来换去思考
We saw this with the sock algorithm a moment ago.
我们前面看到了袜子算法。
Excellent, look for sock, alright.
太好了,找袜子。
Remove first sock from foot.
把第一双袜子从脚上脱下。
Look for matching sock.
找相匹配的袜子。
We replenish the sock drawer.
我们补充袜子到抽屉里。
应用推荐