@safe(bool)

Nicholas Wilson via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 19 17:29:11 PDT 2017


On Saturday, 19 August 2017 at 17:10:54 UTC, bitwise wrote:
> I'm still concerned about having to read code that's laced full 
> of custom attributes, the resolution of which may span several 
> files, templates, etc.
>
> I also think this type of thing could have a detrimental effect 
> on modularity when you end up having to include "myAttribs.d" 
> in every single file you want to work on. I would much rather 
> have a flexible in-language solution, or a solution that didn't 
> require me to define my own attributes.

Having worked on a project with a lot of attributes, my 
suggestion would be to import it via a package.d, you'll be 
importing that anyway.



More information about the Digitalmars-d mailing list