Parenthesis around if/for/while condition is not necessary
crimaniak
crimaniak at gmail.com
Sat Jun 23 21:53:05 UTC 2018
On Saturday, 23 June 2018 at 09:19:45 UTC, user1234 wrote:
> ...Forcing Curly braces is nice, logic and natural imo.
The operator brackets themselves are a separate construction. In
addition, the more structured the code, the less they are needed.
In my code, most of the loops and branches contain one operator,
so forcing the сurly braces would simply add a large amount of
syntactic noise.
More information about the Digitalmars-d
mailing list