what is considered "correct"
That could probably be sorted out based on the position of the opening brace.
I think that learning the harder/manual way is necessary if one really wants to learn the craft of programming.
I don't agree with the "tough love" approach to programming (i.e. not providing this sort of assist) since the whole point of Arduino is making physical computing (and the programming behind it) more accessible to a wide range of people.