User Defined Attributes

Max Samukha maxsamukha at gmail.com
Tue Nov 6 12:52:43 PST 2012


On Tuesday, 6 November 2012 at 20:41:27 UTC, Timon Gehr wrote:
> 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.

Exactly. Looking forward to complaints about impossibility to 
annotate module declarations.


More information about the Digitalmars-d-announce mailing list