Deprecated language features
yebblies at nospamgmail.com
Mon Feb 6 19:05:46 PST 2012
I'll add it.
"Jonathan M Davis" <jmdavisProg at gmx.com> wrote in message
news:mailman.76.1328576679.20196.digitalmars-d at puremagic.com...
> On Friday, February 03, 2012 02:46:31 Daniel Murphy wrote:
>> There are a bunch of features that are planned for removal, and some that
>> are already deprecated, but no clear timeline for removal. I'd like to
>> a comprehensive list, pick suitable durations, then I'll make a wiki page
>> for this.
>> What I've got so far is...
>> Planned for deprecation:
>> - float.min
>> - complex and imaginary types
>> - NCEG operators
>> - array.sort and array.reverse
>> - delete?
>> - Using length inside index expressions
>> - typedef
>> - variable shadowing
>> - invariant as an alias for immutable
>> - derefencing arrays with *
>> - delete aa[key] (same as aa.remove(key))
>> - .offset
>> - escape string literals
>> - 'l' suffix for integer literals
>> - octal literals
>> - 'I' suffix for imaginary literals
>> - html source files
>> - Type.typeinfo syntax
>> - base class protection
>> - c-style function and array pointers
>> - if (v; e) syntax
>> - volatile statements
>> - non-final switch statements without defaults
>> - hiding base class functions (was previously only a run-time check)
>> Any I've missed? I'm thinking features should stay deprecated for around
>> year before being removed.
> What about scope on local variables? That's supposed to be deprecated in
> of std.typecons.Scoped.
> - Jonathan M Davis
More information about the Digitalmars-d