Deprecation: Difference between revisions
Citation bot (talk | contribs) Added doi-broken-date. | Use this bot. Report bugs. | Suggested by Abductive | Category:Wikipedia articles needing clarification from May 2024 | #UCB_Category 337/914 |
BilledMammal (talk | contribs) Post-move cleanup: Changed link from ABC News to ABC News (United States) using Move+ |
||
Line 62: | Line 62: | ||
In [[technical standard]]s, use of a certain clause may be discouraged or superseded by new clauses. As an example, in the [[Ethernet]] standard [[Institute of Electrical and Electronics Engineers|IEEE]] 802.3-2012, Clause 5 (Layer Management) is "deprecated" by Clause 30 (Management), except for 5.2.4. |
In [[technical standard]]s, use of a certain clause may be discouraged or superseded by new clauses. As an example, in the [[Ethernet]] standard [[Institute of Electrical and Electronics Engineers|IEEE]] 802.3-2012, Clause 5 (Layer Management) is "deprecated" by Clause 30 (Management), except for 5.2.4. |
||
Deprecation may also occur when a technical term becomes [[Obsolescence|obsolete]], either through change or supersession.{{clarify|date=May 2024}} An example from [[paleontology]] is the previously deprecated term ''[[Brontosaurus]]'': before being recognized once again as a unique genus,<ref>{{Cite web |url=https://abcnews.go.com/Technology/brontosaurus-finally-validated-distinct-dinosaur-species/story?id=30134546 |title=Brontosaurus Finally Validated as a Distinct Dinosaur |website=[[ABC News]] |access-date=27 June 2020 |archive-date=9 April 2020 |archive-url=https://web.archive.org/web/20200409073314/https://abcnews.go.com/Technology/brontosaurus-finally-validated-distinct-dinosaur-species/story?id=30134546 |url-status=live }}</ref> it was considered a popular, yet deprecated, name for the genus ''[[Apatosaurus]]''.<ref name=UBD04>{{cite book |last=Upchurch|first=Paul |author2=Barrett, Paul M. |author3=Dodson, Peter |editor=Weishampel, David B. |editor2=Dodson, Peter |editor3=Osmólska, Halszka |title=The Dinosauria |url=https://archive.org/details/dinosauriandedit00weis|url-access=limited|edition=2nd |year= 2004|publisher=University of California Press |location=Berkeley |isbn=0-520-24209-2 |pages=[https://archive.org/details/dinosauriandedit00weis/page/n277 259]–322 |chapter=Sauropoda}}</ref> Some deprecated terms in medicine are ''consumption'' ([[tuberculosis]]), ''grippe'' ([[influenza]]), and ''apoplexy'' ([[stroke]]). In [[chemical nomenclature]], the international standards organization [[IUPAC]] (International Union of Pure and Applied Chemistry) has deprecated the term "methyl ethyl ketone", and now recommends using the term "[[ethyl methyl ketone]]" instead.<ref name=iupac2013>{{cite book | title = Nomenclature of Organic Chemistry : IUPAC Recommendations and Preferred Names 2013 (Blue Book) | publisher = [[Royal Society of Chemistry|The Royal Society of Chemistry]] | date = 2014 | location = Cambridge | page = 725 | doi = 10.1039/9781849733069-FP001 | doi-broken-date = 1 June 2024 | isbn = 978-0-85404-182-4}}</ref> |
Deprecation may also occur when a technical term becomes [[Obsolescence|obsolete]], either through change or supersession.{{clarify|date=May 2024}} An example from [[paleontology]] is the previously deprecated term ''[[Brontosaurus]]'': before being recognized once again as a unique genus,<ref>{{Cite web |url=https://abcnews.go.com/Technology/brontosaurus-finally-validated-distinct-dinosaur-species/story?id=30134546 |title=Brontosaurus Finally Validated as a Distinct Dinosaur |website=[[ABC News (United States)|ABC News]] |access-date=27 June 2020 |archive-date=9 April 2020 |archive-url=https://web.archive.org/web/20200409073314/https://abcnews.go.com/Technology/brontosaurus-finally-validated-distinct-dinosaur-species/story?id=30134546 |url-status=live }}</ref> it was considered a popular, yet deprecated, name for the genus ''[[Apatosaurus]]''.<ref name=UBD04>{{cite book |last=Upchurch|first=Paul |author2=Barrett, Paul M. |author3=Dodson, Peter |editor=Weishampel, David B. |editor2=Dodson, Peter |editor3=Osmólska, Halszka |title=The Dinosauria |url=https://archive.org/details/dinosauriandedit00weis|url-access=limited|edition=2nd |year= 2004|publisher=University of California Press |location=Berkeley |isbn=0-520-24209-2 |pages=[https://archive.org/details/dinosauriandedit00weis/page/n277 259]–322 |chapter=Sauropoda}}</ref> Some deprecated terms in medicine are ''consumption'' ([[tuberculosis]]), ''grippe'' ([[influenza]]), and ''apoplexy'' ([[stroke]]). In [[chemical nomenclature]], the international standards organization [[IUPAC]] (International Union of Pure and Applied Chemistry) has deprecated the term "methyl ethyl ketone", and now recommends using the term "[[ethyl methyl ketone]]" instead.<ref name=iupac2013>{{cite book | title = Nomenclature of Organic Chemistry : IUPAC Recommendations and Preferred Names 2013 (Blue Book) | publisher = [[Royal Society of Chemistry|The Royal Society of Chemistry]] | date = 2014 | location = Cambridge | page = 725 | doi = 10.1039/9781849733069-FP001 | doi-broken-date = 1 June 2024 | isbn = 978-0-85404-182-4}}</ref> |
||
==See also== |
==See also== |
Revision as of 08:26, 3 July 2024
Deprecation is the discouragement of use of something human-made, such as a term, feature, design, or practice. Typically something is deprecated because it is claimed to be inferior compared to other options available.
Something may be deprecated when it cannot be controlled,[clarification needed] such as a term. Even when it can be controlled, something may be deprecated even when it might be useful – for example, to ensure compatibility – and it may be removed or discontinued at some time after being deprecated.[1]
Etymology
In general English usage, the verb "to deprecate" means "to express disapproval of (something)". It derives from the Latin deponent verb deprecari, meaning "to ward off (a disaster) by prayer".
An early documented usage of "deprecate" in this sense is in Usenet posts in 1984, referring to obsolete features in 4.2BSD and the C programming language.[2] An expanded definition of "deprecate" was cited in the Jargon File in its 1991 revision,[3] and similar definitions are found in commercial software documentation from 2014[1] and 2023.[4]
Software
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 to give programmers time to bring affected code into compliance with the new standard.
Notable reasons for deprecation include:
Reason | Example(s) |
---|---|
The feature has been replaced by a more powerful alternative feature. | The Linux kernel contains two modules to communicate with Windows networks: smbfs and cifs . The latter provides better security, supports more protocol features, and integrates better with the rest of the kernel. Since the inclusion of cifs , smbfs has been deprecated.[5]
|
The feature contains a design flaw, frequently a security flaw, and so should be avoided, but existing code depends upon it. |
|
The feature is considered extraneous and will be removed in a planned future version. | Early versions of the Web markup language HTML included a FONT element to allow page designers to specify the font in which text should be displayed. With the release of Cascading Style Sheets and HTML 4.0, the FONT element became extraneous, and detracted from the benefits of noting structural markup in HTML and graphical formatting in CSS. Thus, the FONT element was deprecated in the Transitional HTML 4.0 standard, and eliminated in the Strict variant.[8]
|
A planned future version of the software will make major structural changes, making it impossible or impractical to support older features. |
|
A feature that once was available independently is combined with its co-feature. | In VLC Media Player, VLC used to stand for "VideoLan Client", and a separate "VideoLan Server" was available as its co-feature. Both the client and server became available in the same package, and so getting one independently would be impractical.[10] |
Other usage
A building code example is the use of ungrounded ("2-prong") electrical receptacles (UK English: "unearthed"). Over time, these older devices were widely deprecated in favor of safer grounded ("3-prong") receptacles. The older, ungrounded receptacles were still permitted in many places by "grandfathering" them in existing electrical wiring, while prohibiting them for new installations. Thus, though ungrounded receptacles may still be available for legal purchase in a location where they are obsolete, they would generally be intended only 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.
Deprecation may also occur when a technical term becomes obsolete, either through change or supersession.[clarification needed] An example from paleontology is the previously deprecated term Brontosaurus: before being recognized once again as a unique genus,[11] it was considered a popular, yet deprecated, name for the genus Apatosaurus.[12] Some deprecated terms in medicine are consumption (tuberculosis), grippe (influenza), and apoplexy (stroke). In chemical nomenclature, the international standards organization IUPAC (International Union of Pure and Applied Chemistry) has deprecated the term "methyl ethyl ketone", and now recommends using the term "ethyl methyl ketone" instead.[13]
See also
- Abandonware
- Grandfather clause
- List of deprecated terms for diseases
- Obsolescence
- Orphaned technology
References
- ^ a b "JEP 277: Enhanced Deprecation". openjdk.java.net. Archived from the original on 19 September 2018. Retrieved 9 February 2018.
- ^ Shea, Ammon. "A New Meaning of 'Deprecate'". Words We're Watching. Merriam-Webster. Retrieved 1 March 2023.
- ^ Raymond, Eric S.; Steele, Guy L., eds. (July 1992). The Jargon File, Version 2.9.10. Retrieved 1 March 2023 – via Project Gutenberg.
- ^ Stewart, Meghan (27 February 2023). "Windows client features lifecycle". What's new in Windows. Microsoft. Retrieved 1 March 2023.
- ^ "On the future of smbfs". LWN.net. 15 May 2006. Retrieved 1 March 2023.
- ^ GNU. "Line Input". The GNU C Library. GNU. Archived from the original on 26 January 2021. Retrieved 2 August 2008.
Deprecated function: char * gets (char *s). ... The
gets
function is very dangerous because it provides no protection against overflowing the strings
. The GNU library includes it for compatibility only. You should always usefgets
orgetline
instead. - ^ "Java Thread Primitive Deprecation". Oracle. Archived from the original on 15 October 2011. Retrieved 13 May 2011.
- ^ Musciano, Chuck; Kennedy, Bill (2007). "HTML's Obsolete Expanded Font Handling". HTML & XHTML : the definitive guide (6th ed.). Beijing: O'Reilly. ISBN 978-0-596-52732-7. OCLC 77574682.
- ^ Simenel, Éric (2000). "Carbonization 101". MacTech. Vol. 16, no. 12. Retrieved 1 March 2023.
- ^ "The cross-platform streaming solution". VideoLAN. Retrieved 1 March 2023.
- ^ "Brontosaurus Finally Validated as a Distinct Dinosaur". ABC News. Archived from the original on 9 April 2020. Retrieved 27 June 2020.
- ^ Upchurch, Paul; Barrett, Paul M.; Dodson, Peter (2004). "Sauropoda". In Weishampel, David B.; Dodson, Peter; Osmólska, Halszka (eds.). The Dinosauria (2nd ed.). Berkeley: University of California Press. pp. 259–322. ISBN 0-520-24209-2.
- ^ Nomenclature of Organic Chemistry : IUPAC Recommendations and Preferred Names 2013 (Blue Book). Cambridge: The Royal Society of Chemistry. 2014. p. 725. doi:10.1039/9781849733069-FP001 (inactive 1 June 2024). ISBN 978-0-85404-182-4.
{{cite book}}
: CS1 maint: DOI inactive as of June 2024 (link)
External links
- How and When To Deprecate APIs from the JDK 5.0 Documentation