User Defined Attributes

Timon Gehr timon.gehr at gmx.ch
Tue Nov 6 12:41:26 PST 2012


On 11/06/2012 07:02 PM, Walter Bright wrote:
> On 11/6/2012 9:34 AM, dennis luehring wrote:
>> can't you please give us a bad-usage example why it is/should be
>> forbidden to
>> use UDA on parameters (and please - we are not talking about pure, in,
>> out and
>> stuff like that)
>
> I believe this is the wrong question. For a new feature, the question
> should be "why should it be included", not "why shouldn't it be included."
> ...

The same holds for arbitrary restrictions.

I thought the general agreement was to include the feature.
Language features should be as general and as orthogonal as possible and 
reasonable.


More information about the Digitalmars-d-announce mailing list