2 of 2
Guidelines for asking best-practice questions
200_success
  • 143.8k
  • 22
  • 187
  • 470

A best practice is a method or technique that is generally considered to be superior to other methods in achieving the same result. In the context of Code Review, questions with the tag generally involve a short excerpt of code with a question of general interest, usually focused more on maintainability concerns than the algorithm to solve the task at hand.

Note, however, that questions must include a real code excerpt (as per the site rules) and sufficient context for reviewers to make specific recommendations relevant to your situation. Questions in which the code has been stripped down to a hypothetical situation will likely be closed as off-topic.