Andrei's list of barriers to D adoption

Dave via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 7 13:52:15 PDT 2016


On Tuesday, 7 June 2016 at 20:48:13 UTC, Jonathan M Davis wrote:
> On Tuesday, June 07, 2016 18:33:01 Dave via Digitalmars-d wrote:
>> [...]
>
> IMHO, it's bad practice to mass apply attributes with labels or 
> blocks. It's far too easy to accidentally mark a function with 
> an attribute that you didn't mean to, and it makes it way 
> harder to figure out which attributes actually apply to a 
> function. And when you add templates into the mix, applying 
> attributes en masse doesn't work anyway, because pretty much 
> the only time that you want to mark a template function with an 
> attribute is when the template arguments have nothing to do 
> with whether the attribute is appropriate or not.
>
> [...]

So we should not follow the advice of Walter?


More information about the Digitalmars-d mailing list