If Statement with Declaration
Jack Stouffer via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jul 20 07:18:48 PDT 2017
On Thursday, 20 July 2017 at 14:05:36 UTC, Iakh wrote:
> It is not about reduce number of lines. It is about binding
> related things in one statement.
Even so, it's already been shown in this thread that the same
effect can be achieved via a block statement (doing exactly what
it was designed for) or with a for loop.
It's an small increase in terseness for a decrease in readability
and an increase in complexity.
More information about the Digitalmars-d
mailing list