"body" keyword is unnecessary

Bekenn leaveme at alone.com
Thu Mar 24 22:54:39 PDT 2011


On 3/24/2011 12:55 PM, Steven Schveighoffer wrote:
> But I don't know that it's so terrible to have it as a keyword. Clearly
> there was a "free keyword love" period in D's past, but I think it takes
> a lot more than just "we could technically do this without a keyword" to
> remove it from the language. For one, it would break tons of existing code.

As I mentioned above, "body" can be removed as a keyword without 
removing it from the syntax.  There's no chance of of confusion with any 
other type of symbol.


More information about the Digitalmars-d mailing list