DIP 1003 Formal Review
MysticZach via Digitalmars-d
digitalmars-d at puremagic.com
Thu May 25 04:49:47 PDT 2017
On Friday, 12 May 2017 at 16:17:03 UTC, Mike Parker wrote:
> The first stage of the formal review for DIP 1003 [1], "Remove
> body as a Keyword", is now underway. From now until 11:59 PM ET
> on May 26 (3:59 AM GMT on May 27), the community has the
> opportunity to provide last-minute feedback. If you missed the
> preliminary review [2], this is your chance to provide input.
>
> At the end of the feedback period, I will submit the DIP to
> Walter and Andrei for their final decision. Thanks in advance
> to those of you who participate.
>
> [1]
> https://github.com/dlang/DIPs/blob/fbb797f61ac92300eda1d63202157cd2a30ba555/DIPs/DIP1003.md
>
> [2]
> http://forum.dlang.org/thread/qgxvrbxrvkxtimzvnetu@forum.dlang.org
I believe the relevant discussion for this DIP can be simplified
to just these two questions:
1. Should `body` be allowed as an identifier?
2. Should the keyword `body` remain as it is?
But it's been demonstrated that these two issues do _not_ need to
be decided together. Because there is no known possibility of
semantic confusion between the two potential uses of `body`, the
arguments against allowing `body` as a contextual keyword are
reduced to two minor points:
A. syntax highlighters will get confused
B. some programmers consider contextual keywords to be "bad karma"
It's possible to answer Question 1 based on these points alone.
Only if one decides that the answer to Question 2 is "no" — i.e.
that `body` as a keyword needs to change — does it open up the
discussion on the various options for changing it. But that could
technically be the subject of a different DIP.
More information about the Digitalmars-d
mailing list