Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Possible Duplicate:
Automatically warn against the use of mysql_* functions on Stack Overflow

I've seen several questions now where the code includes deprecated functions.

I'll use Mysql_ function for this example... The user posts a question with deprecated mysql_, and immediately several people respond with "don't use that, use PDO or Mysqli"...

Would it be useful to have Stackoverflow to search keywords and give a notice to the user that certain terms are no longer valid to save trouble? The notice would of course include an comprehensive explanation, along with links to better alternatives... I think this would save a lot of hassle.

Here are two recent examples I've seen:

MySQL select query, retrieve data from more than one column by typing more than one word in search bar

Is this PHP code SQL vulnerable?

share|improve this question

marked as duplicate by juergen d, Bart, Austin Henley, Shawn Chin, Toon Krijthe Jan 18 '13 at 19:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

@Bart Why is a question like this downvoted? Is it not useful? That guy got downvoted 11. – Growler Jan 18 '13 at 19:09
Downvotes on Meta are sometimes used to indicate disagreement. It is explained in this site's faq. Don't worry about it. – Bart Jan 18 '13 at 19:10

I don't think that it's Stack Overflow's job to assertively notify users about the current state of their programming language / context. The best way to handle this is is as it's currently done - posters providing tips/advice in comments and answers.

If a user has a question about best practices, they should write and ask a question (a constructive, focused, on-topic question).

share|improve this answer
Fair enough. I thought it would be a good way to steer users in the right direction quicker, as well as filter out redundant questions to make room for unique and actually helpful questions. – Growler Jan 18 '13 at 19:15

Not the answer you're looking for? Browse other questions tagged .