On 4 June 2013 15:08, mike smith <[email protected]> wrote:

> It isn't the flow control constructs doing it, it's the scoping.


Agreed.

It is quite clear when there is 'explicit' scoping (curly brackets), but
there is also 'implied' scoping (eg a single line after an if). Why can't a
useless variable be declared after an if without braces, but is ok if we
wrap that single line in a pair of curlies?

Reply via email to