Instructions Unclear, Stuck Inside Washing Machine Inside Blender

The trouble with Code Academy is that its instructions aren't clear a lot of the time. For instance, it gives the following Javascript code:

var understand = true;

console.log("I'm learning while loops!");
understand = false;
And says, "complete the while loop... Do this by adding the condition between the parentheses". The clue: "As long as the condition evaluates to true, the loop will continue to run. As soon as it's false, it'll stop. (When you use a number in a condition, as we did earlier, JavaScript understands 1 to mean true and 0 to mean false.)"

When a novice reads this, he/she thinks, I can put anything True in there! So, I crashed the browser three times before I realised it wants me to put the variable "understand" in there.

This lack of clarity can get quite frustrating if it makes you spend an hour or more trying to interpret the vagueness rather than working on code. It happens enough to be noticeable, but I'm patient so I'll slog on.


There are currently no comments

New Comment


required (not published)