Skip to main content
4 of 7
replaced http://meta.codereview.stackexchange.com/ with https://codereview.meta.stackexchange.com/

The gray areas of Code Review: Hypothetical / Example code

This is related to Why is hypothetical example code off-topic for Code Review?

Which is related to On-Topic question #3:

Is it actual code from a project rather than pseudo-code or example code?

It seems that we're not quite consistent in our treatment of "example code", which is what this meta post is for.

  • Which kind of "example code" questions do we want to avoid with this rule, and why?
  • Which borderline "example code" questions do we want to keep, and why?

I believe there are opinions and examples on both of these questions, so please bring on the examples and opinions and perhaps we can come to a conclusion on this topic.

Simon Forsberg
  • 59.7k
  • 1
  • 79
  • 174