I was recently told it was bad practice to haved marked a number of methods in our code with the [Obsolete]
attribute. These methods were internal to our codebase, rather than being on an API. The methods handled an older encryption function.
I felt it was a quick and safe way to denote to the rest of the team that these methods should not be used, and provided a message to suggest alternatives.
Others felt that I should have removed the methods entirely, rewriting or refactoring existing code as required. Additionally, it was thought too easy to overlook the compiler warnings.
Is there a 'best practice' for marking code as Obsolete when it's not being used by 3rd parties? Or is this largely subjective?