Open Methods: From C++ to D
rikki cattermole via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Wed Aug 30 08:14:04 PDT 2017
On 30/08/2017 4:10 PM, Jean-Louis Leroy wrote:
> On Wednesday, 30 August 2017 at 14:37:14 UTC, Arun Chandrasekaran wrote:
>> On Wednesday, 30 August 2017 at 13:35:22 UTC, Jean-Louis Leroy wrote:
>>> On Wednesday, 30 August 2017 at 04:48:11 UTC, Arun What was your
>>> rationale for `openmethod` instead of just `method`?
>>
>> Just that `openmethod` precisely expresses it's intent and `method` is
>> too generic.
>
> I sort of agree, and somewhat regret not picking 'openmethod'. I
> considered both. Also @specialize. If anyone had pushed for @openmethod
> before the article, I would almost certainly have given in.
>
> My reasoning was, I hope to promote the term 'method' as the standard
> name for polymorphism from outside, as opposed to vfunc. We usually say
> "virtual functions", rarely "virtual member functions". Membership is
> implicit.
>
Rename, alias to old and have it deprecated.
Keep around for a couple of releases, done!
More information about the Digitalmars-d-announce
mailing list