Deprecation

Not to be confused with Depreciation.

In several fields, deprecation is the discouragement of use of some feature, design or practice; typically because it has been superseded or is no longer considered safe - but without completely removing it or prohibiting its use.

Etymology

In general English usage, the infinitive "to deprecate" means "to express disapproval of (something)". It derives from the Latin verb deprecare, meaning "to ward off (a disaster) by prayer". In current usage, for one to state that a feature is deprecated is merely a recommendation against using it. It is still possible to produce a program or product without heeding the deprecation.

Software deprecation

While a deprecated software feature remains in the software, its use may raise warning messages recommending alternative practices; deprecated status may also indicate the feature will be removed in the future. Features are deprecated rather than immediately removed, to provide backward compatibility and give programmers time to bring affected code into compliance with the new standard.

Among the most common reasons for deprecation are:

Other usage

An example in hardware design is omission of pull-up resistors on unused inputs to a logic gate. This practice may have been acceptable in the past, but becomes deprecated because faster clock speeds are likely to induce more transient noise on input lines, causing hardware glitches or malfunctions.

A building code example is the use of ungrounded ("2-prong") electrical receptacles. Over time, these older devices were deprecated in favor of the safer grounded ("3-prong") receptacles. The obsolete ungrounded receptacles were still permitted by "grandfathering" in existing electrical wiring, but became prohibited from new installations. Ungrounded receptacles are still available for legal purchase, but are intended solely for repairs to existing older electrical installations.

In writing and editing, usage of a word may be deprecated because it is ambiguous, confusing, or offensive to some readers. For example, the words sanction and inflammable may be misinterpreted because they have auto-antonymic or self-contradictory meanings; writing style guides often recommend substituting other words that are clearly understood and unambiguous. Some word usages that have acquired different connotations over time, such as gay or colored, may be deprecated as obsolete in formal writing.

In technical standards, use of a certain clause may be discouraged or superseded by new clauses. As an example, in the Ethernet standard IEEE 802.3-2012, Clause 5 (Layer Management) is "deprecated" by Clause 30 (Management), except for 5.2.4.

The term deprecated may also be used when a technical term becomes obsolete, either through change or supersession. An example from paleontology is the previously deprecated term Brontosaurus; before being re-recognized as a unique genus,[3] it was considered a popular, yet deprecated, name for the genus Apatosaurus.[4] Some examples of deprecated terms from medicine include consumption (tuberculosis), grippe (influenza), and apoplexy (stroke).

See also

References

  1. GNU. "Line Input". The GNU C Library. GNU. Retrieved 2008-08-02. Deprecated function: char * gets (char *s). ... The gets function is very dangerous because it provides no protection against overflowing the string s. The GNU library includes it for compatibility only. You should always use fgets or getline instead.
  2. "Java Thread Primitive Deprecation". Oracle. Retrieved 13 May 2011.
  3. Brontosaurus Finally Validated as a Distinct Dinosaur
  4. Upchurch, Paul; Barrett, Paul M.; Dodson, Peter. (2004). "Sauropoda". In Weishampel, David B.; Dodson, Peter; and Osmólska, Halszka. (eds.). The Dinosauria (2nd ed.). Berkeley: University of California Press. pp. 259–322. ISBN 0-520-24209-2.

External links

Look up deprecate in Wiktionary, the free dictionary.
Look up deprecation in Wiktionary, the free dictionary.
This article is issued from Wikipedia - version of the 12/3/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.