auto attribution pros/cons

kinke noone at nowhere.com
Sun Jun 28 21:44:45 UTC 2020


On Sunday, 28 June 2020 at 18:39:13 UTC, Bruce Carneal wrote:
> Other pros/cons?

The main problem IMO is the API instability - an innocent-looking 
change for a little leaf function may impact a huge number of 
callers, which e.g. affects D symbol name mangling. And a 
function f may become @safe when the last @system callee is, 
which might enable unwanted bounds checks for f with -release 
(and without additional -boundscheck=off).


More information about the Digitalmars-d mailing list