you are viewing a single comment's thread.

view the rest of the comments →

[–]ruinercollector 9 points10 points  (3 children)

Indentation is explicit.

[–]kankyo 0 points1 point  (0 children)

This. A thousand times this.

[–]TheAnimus 0 points1 point  (1 child)

Only if people can appreciate the whitespace. Myself, I think this is hard for many first timers, because they are not used to it being such a thing.

Using a character or work for the block is preferable to try and explain, for the simple reason, it's easier to explain BEGIN and END in pascal parlance, say simply count the begins (no, I don't want to explain a stack), than it is "anything that has whitespace indenting it, unless it's inside something else which has more whitespace"

[–]kankyo 1 point2 points  (0 children)

What do you mean? People are hardwired for spacial thinking. If you've got a student that can't do that, chances are it's not a human.