Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Suggestion: Add a 'flag for deprecated code' global option allowing for easier upgrade #6846
I just an idea. When upgrading from one version to another often methods, default values etc. are changed to align code/wording. As applications gets bigger and bigger it can often be difficult/time consuming to analyse which code is now deprecated. My suggestion is that if a global value 'flagForDepricatedCode' is set true, then every time deprecated code (only from previous version) is executed in browser, then a message is written to console which deprecated code was reached. That would allow developers to easy 'take a walk around the application' and get a (complete) list of deprecated/soon to be deprecated code that needs attention.
I know it's a wild shot, so no hard feelings if the idea isn't implemented :-)