Opentopia Directory Encyclopedia Tools

Deprecation

Encyclopedia : D : DE : DEP : Deprecation



 

In computer software standards and documentation, deprecation is the gradual phasing-out of a software or programming language feature.

A feature or method marked as deprecated is one which is considered obsolete, and whose use is discouraged. The feature still works in the current version of the software, although it may raise error messages as warnings. These serve to alert the user to the fact that the feature may be removed in future releases.

Features get marked as deprecated, rather than simply removed, in order to provide backward compatibility for software users. When other programs depend on the deprecated feature, programmers need time to change their code to avoid the feature.

Programmers or standards-makers may choose to deprecate a feature for any number of reasons. Some common cases are:

Etymology

In mainstream English, the verb "to deprecate" means, simply, "to disapprove of (something)". It derives from the Latin verb deprecare, meaning "to ward off (a disaster) by prayer." Thus, for a standards document to state that a feature is deprecated is a recommendation against using it. Alternately (and somewhat more dramatically), the writer implores users against using an old, bad feature so that it can be removed.

It is often confused with the word "depreciate". Using deprecated programming language features may cause the value of a program to depreciate: eventually, the features will be removed, or the program will no longer run. Nonetheless, "deprecate" and "depreciate" are not synonyms.

 


From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.


Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: