7

I have seen (and asked) questions on stack overflow that ask if a solution to a problem is good practice or if there is a better way (perhaps quicker or more efficient) to solve the same problem. As far as I have seen, many people don't like these questions and will downvote them. Are they off topic? Is there a better way to ask them?

Also, in some other questions, the accepted answer is not the best answer because there is a better practice or more efficient solution than that answer. Often the best answer is further down the page even though it has far more upvotes than the accepted answer. Usually because the accepted answer was easier to implement or got there first and just about did the trick. Is the site supposed to cope with this? or should I just read on in such cases to find a better answer than the accepted answer?

4

1 Answer 1

4

Sounds like you're asking to have a code review. There's an app site for that.

Of course they have their own set of guidelines for what types of code reviews are and are not acceptable, so be sure to look through the site's guidelines before posting.

1
  • Yeah, the tour of the code review site mentions 'best practice' questions of different forms in the good questions and the bad questions sections and it's not so clear cut. Still probably a better place than SO for such questions if asked properly. Jul 24, 2014 at 21:15

You must log in to answer this question.

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