Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deprecated meaning?

Tags:

deprecated

When jQuery, Microsoft or some other software company says:"this function is deprecated".

For example, when there is a func1 that works fine in version 1.0 and is deprecated in version 2.0 that also introduces a new func2:

  1. Should func1 also be included in version 2.0 for backwards compatibility?
  2. Is func1 supposed to work without bugs in version 2.0? ( func2 is fine with versions 2 and 1)
  3. Is func2 allowed not to work correctly in version 2.0?

What does deprecation really mean and does it mean the same in all organizations?

For ex. the live method in jQuery doesn't work in 1.7 in IE but it does in Chrome).

like image 458
Royi Namir Avatar asked Nov 13 '11 13:11

Royi Namir


People also ask

What does the word deprecated mean?

In information technology (IT), deprecation means that although something is available or allowed, it is not recommended or that -- in the case where something must be used -- to say it is deprecated means that its failings are recognized.

Does deprecated mean removed?

A removed feature is no longer available in the product. A deprecated feature is not in active development and may be removed in a future update.

What is an example of deprecate?

To deprecate is defined as to show disapproval about something or someone or to belittle someone. An example of deprecate is when you tell someone his idea is really stupid and that he should be quiet.

Does deprecated mean decrease?

To deprecate is to diminish, or to oppose, like when someone deprecates your dream of climbing Mt. Everest by calling it "a little walk up a hill." Some people deprecate themselves, which is called being self-deprecating.


2 Answers

I think the Wikipedia-article on Deprecation answers this one pretty well:

In the process of authoring computer software, its standards or documentation, deprecation is a status applied to software features to indicate that they should be avoided, typically because they have been superseded. Although deprecated features remain in the software, their use may raise warning messages recommending alternative practices, and deprecation may indicate that the feature will be removed in the future. Features are deprecated—rather than immediately removed—in order to provide backward compatibility, and give programmers who have used the feature time to bring their code into compliance with the new standard.

like image 192
esaj Avatar answered Dec 03 '22 14:12

esaj


Deprecated means they don't recommend using it, and that it isn't undergoing further development. But it should not work differently than it did in a previous version unless documentation explicitly states that.

  1. Yes, otherwise it wouldn't be called "deprecated"

  2. Unless stated otherwise in docs, it should be the same as before

  3. No, but if there were problems in v1 they aren't about to fix them

like image 40
sq33G Avatar answered Dec 03 '22 15:12

sq33G