Why do some attributes start with '@' while others done't?

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 21 18:12:27 PST 2016


On Thursday, 21 January 2016 at 23:19:19 UTC, Brian Schott wrote:
> Every time a new keyword is added to the language some working 
> code will become invalid.

Well, technically, since UDAs exist, every new @thing is 
potential breakage too, though of course, limited in scope.

(If I was doing it, I'd actually make the ones be implicitly 
imported names, so you could disambiguate with teh module system 
like normal if that did happen, but meh.)


More information about the Digitalmars-d mailing list