Negation of attributes (DIP 79)

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 2 21:47:38 PDT 2015


On Wed, 03 Jun 2015 02:40:55 +0200, Artur Skawina via Digitalmars-d wrote:

> On 06/03/15 01:41, ketmar via Digitalmars-d wrote:
>> 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:
>>>> this opens a can of worms. should this be accepted too:
>>>>   enum doItFinal = false;
>>>>   final(doItFinal)
>>>> ?
>>>>
>>>> or even
>>>>   final(someFunnyTemplate!(with_, args, andOtherTemplate!"too"))
>>>> ?
> 
>>> 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.
>> ;-)
> 
> An interpreter is required anyway.

and the idea is still bad.
-------------- 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/20150603/c6732182/attachment.sig>


More information about the Digitalmars-d mailing list