将代码转为伪代码
by Gordon Davidescu
戈登·戴维德斯库(Gordon Davidescu)
伪代码在寻找解决方案中的重要性 (The Importance of Pseudo-code in Searching for Solutions)
So you sign up for Free Code Camp and start plowing through lesson after lesson them like an industrial lawn mower. Everything is going great, until all of a sudden you hit one of the big code challenges — and you freeze.
因此,您注册了Free Code Camp,然后像上工业割草机一样在课后开始学习。 一切进展顺利,直到突然之间您遇到了重大代码挑战之一,然后冻结了。
You don’t know where to begin. There’s so much that the challenge is demanding of you. You’re not even sure whether you actually know how to do all of the things that it is asking you to do.
您不知道从哪里开始。 挑战是如此艰巨。 您甚至不确定自己是否真的知道如何去做它要您做的所有事情。
Let’s take the Tic Tac Toe challenge for one. It’s a game, it has to be playable, it has to allow you to choose a side. And, of course, it also has to be winnable (and lose-able).
让我们以井字游戏 挑战之一。 这是一个游戏,必须具有可玩性,必须允许您选择一方。 而且,当然,它也必须是可赢的(可输的)。
I think this happens to a lot of people who attend Free Code Camp, e