www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DIP86: Consistency for the "deprecated" attribute/storage class

reply Brian Schott <briancschott gmail.com> writes:
http://wiki.dlang.org/DIP86

Your thoughts?
Jan 13 2016
next sibling parent reply Jack Stouffer <jack jackstouffer.com> writes:
On Thursday, 14 January 2016 at 02:31:38 UTC, Brian Schott wrote:
 http://wiki.dlang.org/DIP86

 Your thoughts?
I guess there's no reason not to, so LGTM. The use of the deprecated attribute on variables seems misguided in the first place though. I don't see much use for it vs possible use on functions, structs, classes, and modules other than with global variables.
Jan 13 2016
parent w0rp <devw0rp gmail.com> writes:
On Thursday, 14 January 2016 at 02:54:01 UTC, Jack Stouffer wrote:
 On Thursday, 14 January 2016 at 02:31:38 UTC, Brian Schott 
 wrote:
 http://wiki.dlang.org/DIP86

 Your thoughts?
I guess there's no reason not to, so LGTM. The use of the deprecated attribute on variables seems misguided in the first place though. I don't see much use for it vs possible use on functions, structs, classes, and modules other than with global variables.
The number 10 is now deprecated. Please use 11 instead, which is 1 better.
Jan 14 2016
prev sibling next sibling parent reply deadalnix <deadalnix gmail.com> writes:
On Thursday, 14 January 2016 at 02:31:38 UTC, Brian Schott wrote:
 http://wiki.dlang.org/DIP86

 Your thoughts?
HAHAHAHAHA consistency, good one :)
Jan 14 2016
parent Brian Schott <briancschott gmail.com> writes:
On Thursday, 14 January 2016 at 12:33:19 UTC, deadalnix wrote:
 HAHAHAHAHA consistency, good one :)
We can dream.
Jan 14 2016
prev sibling next sibling parent Guillaume Piolat <contact gam3sfrommars.fr> writes:
On Thursday, 14 January 2016 at 02:31:38 UTC, Brian Schott wrote:
 http://wiki.dlang.org/DIP86

 Your thoughts?
OK. Is deprecated on variables used by anyone here?
Jan 14 2016
prev sibling parent Jonathan M Davis <jmdavisProg gmx.com> writes:
On Thursday, 14 January 2016 at 02:31:38 UTC, Brian Schott wrote:
 http://wiki.dlang.org/DIP86

 Your thoughts?
Makes sense to me. The current behavior seems needlessly inconsistent. - Jonathan M Davis
Jan 16 2016