Negation of attributes (DIP 79)
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 2 16:41:43 PDT 2015
On Tue, 02 Jun 2015 18:49:09 +0200, Artur Skawina via Digitalmars-d wrote:
> On 06/02/15 14:21, ketmar via Digitalmars-d wrote:
>> On Tue, 02 Jun 2015 11:50:15 +0000, Namespace wrote:
>>
>>> For me it looks ugly. But I would prefer final(false) instead of
>>> !final.
>>
>> this opens a can of worms. should this be accepted too:
>> enum doItFinal = false;
>> final(doItFinal)
>> ?
>>
>> or even
>> final(someFunnyTemplate!(with_, args, andOtherTemplate!"too"))
>> ?
>
> [I'd assumed it was a rhetorical question, but after reading
> some of the followups...]
>
> Of course.
this is bad. it smells. it adds almost nothing in terms of uniformity.
and i'm sure that Hackerpilot will be happy to know that he now needs a
full-blown D interpreter to determine if some method is virtual or not. ;-
)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150602/7e2ec809/attachment.sig>
More information about the Digitalmars-d
mailing list