User Defined Attributes (UDA) in Phobos/druntime

John Colvin john.loughran.colvin at gmail.com
Tue Jun 11 08:17:30 PDT 2013


On Tuesday, 11 June 2013 at 14:59:44 UTC, Idan Arye wrote:
> On Tuesday, 11 June 2013 at 07:36:44 UTC, Walter Bright wrote:
>> On 6/11/2013 12:00 AM, Jacob Carlborg wrote:
>>> Thoughts?
>>
>> I'd like to see more use of UDAs in non-Phobos code so we can 
>> figure out best practices from experience before putting it 
>> into Phobos, where we'll be stuck with any bad decisions.
>
> I disagree - if you wait for UDAs to appear more in user-code, 
> you'll end up with multiple conventions for using them.

That's what we want, surely: Multiple conventions appear, then 
with the benefit of hindsight the best can be selected for phobos.


More information about the Digitalmars-d mailing list