DIP 1003: remove `body` as a keyword

Dicebot via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Nov 27 18:17:20 PST 2016


On 11/24/2016 05:29 PM, WM.H wrote:
> On Saturday, 19 November 2016 at 21:16:15 UTC, Dicebot wrote:
>> DIP 1003 is merged to the queue and open for public informal feedback.
>>
>> PR: https://github.com/dlang/DIPs/pull/48
>> Initial merged document:
>> https://github.com/dlang/DIPs/blob/master/DIPs/DIP1003.md
>>
>> If you want the change to be approved and have ideas how to improve it
>> to better match on
>> https://github.com/dlang/DIPs/blob/master/GUIDELINES.md and existing
>> published reviews - please submit new PR with editorial and ping
>> original author.
> 
> This DIP fixes the problem for "body" but not for the other keywords.
> After all the problem may exist for other keywords. Was a new pragma
> considered ? For example an identifier alias.
> 
> pragma(idAlias, "body", "body_" )

AFAIU, the point of this DIP is that "body" is standing out from other
keywords being used only in one very specific context and being a very
common english word at the same time. Your proposal has a completely
different (and much more drastic) approach.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20161128/4f5f0225/attachment.sig>


More information about the Digitalmars-d-announce mailing list