"body" keyword is unnecessary
Walter Bright
newshound2 at digitalmars.com
Sun Mar 27 22:23:55 PDT 2011
On 3/23/2011 3:17 PM, Alvaro wrote:
> D already has a long list of keywords, reserved words can't be used as
> identifiers, which can be annoying. "body" in particular is a common noun that
> programmers would gladly use as a variable name in physics simulation,
> astronomy, mechanics, games, health, etc. I think "body" can be removed from D
> with no harm, and with the benefit of allowing the name as identifier.
Body is not strictly necessary to parse it. But it makes for a nice "anchor"
when the in and out clauses get long.
In any case, we are currently working on getting temp destruction to work
correctly, and after that we'll work on fixing issues with const. I think these
are the most important things we should be working on at the moment.
More information about the Digitalmars-d
mailing list