- The Difference Between Deprecated, Depreciated and Obsolete
Obsolete: should not be used any more Deprecated: should be avoided in new code, and likely to become obsolete in a later version of the API Depreciated: usually a typo for deprecated (depreciation is where the value of goods goes down over time, e g if you buy a new computer its resale value goes down month by month)
- c# - When should I use the [Obsolete] attribute and when should I . . .
Maybe you don't want to change all code of A now, and just mark it, to modify it later E g there is a method that is used in the other library on 200 places You maybe want to fix it not all at once (As long as the obsolete code is still correct) better solution would be to change the existing method, to call the new (not obsolete) code then
- How to mark a method as obsolete or deprecated?
[Obsolete] private static void SomeMethod() You get a warning when you use it: And with IntelliSense: If you want a message: [Obsolete("My message")] private static void SomeMethod() Here's the IntelliSense tool tip: Finally if you want the usage to be flagged as an error: [Obsolete("My message", true)] private static void SomeMethod()
- c# - Usage of the Obsolete attribute - Stack Overflow
Step 1 Mark the member or class as [Obsolete] Step 2 Update all internal uses of the member or class to either use the new approach that replaces the obsolete approach, or mark that member or class itself as [Obsolete] Step 3 If you've marked new stuff as [Obsolete] in Step 2, repeat this step as needed Step 4
- Obsolete test case (or test case of removed feature)
What to do with obsolete test case (or test case of removed feature)? We are using VSS in our project Hundreds of test cases are there Suppose some features are removed from application in current version but the test cases are still there in VSS Should we remove these test cases from VSS as pertaining features are removed from application?
- What are obsolete snapshots and snapshot files?
› 50 obsolete snapshot files found 50 tests still provide the same output as before Is wrong, the 50 corresponding test suites have been renamed, moved or removed Such a high number is unusual and you should probably find a way to re-map the snapshots to their tests, before updating them › 3 obsolete snapshots found
- What is an Obsolete reference in java - Stack Overflow
I'm reading the Effective Java book and its saying that eliminating obsolete reference is one of best way to avoid memory leaks according to the below program, by doing -> elements[size] = null; its eliminating obsolete references in that program My problem here what is the advantage of doing elements[size] = null;
- Obsolete vs. Deprecated HTML - Stack Overflow
It does not define “obsolete” as a technical term (as applicable to features of HTML), but it uses the word a lot The word is implicitly defined in the 11 Obsolete features section The draft tells, with somewhat varying tones and specialties depending on features, authors not to use obsolete features but expects browsers to keep
|