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

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 21 18:23:44 PST 2016


On Friday, 22 January 2016 at 02:12:27 UTC, Adam D. Ruppe wrote:
> 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.)

Putting built-in @-attributes in a runtime module publicly 
imported from object.d is a very long proposal but last time it 
was discussed Walter wasn't convinced it is of much gain AFAIR. 
May get there eventually, I hope.


More information about the Digitalmars-d mailing list