What does your code do? Or pretend to do? Automated tests are not a replacement for manual QA
Oct 102006

Dictionary.com’s “Word of the Day” for the 8th:

deprecate \DEP-rih-kayt\, transitive verb:
1. [Archaic] To pray against, as an evil; to seek to avert by prayer.

It brings to mind the times I’ve deprecated code with that thought: “Dear God, please, stop anyone from using this.”

I have since learnt that the only way to stop people using deprecated code is to provide an alternative and remove it completely. God helps those who help themselves.

No Responses to “Deprecate: a definition”

  1. anonymous says:

    …I quite like Simon Stewart’s trick of renaming a method that should not be called to something like onlyYourMomThinksYouAreSpecialIfYouUseThis().

    Worked at least on a couple of projects so far! :)

  2. sirenian says:

    I like “EvilThingummyService” too. :)

Sorry, the comment form is closed at this time.