Skip to main content

Questions tagged [example-code]

2 votes
1 answer
132 views

Can I ask a question on a very specific aspect of design? Like, I would like to know whether Is this the right way to set defaults? I want the defaults set regardless of whether an object is created ...
Sergey's user avatar
  • 739
31 votes
4 answers
2k views

As stated in the Help Center, one of the criteria for a question to be on topic is: Is it actual code from a project rather than pseudo-code or hypothetical code? Details matter! In order to give good ...
7 votes
2 answers
231 views

Here's a post that exemplifies my question: Extension method to enumerate a hierarchical object Looking at the history, all I can think of is "poor OP." Several items of note: In an attempt to ...
moarboilerplate's user avatar
15 votes
3 answers
383 views

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 ...
Simon Forsberg's user avatar
14 votes
1 answer
157 views

An old question that was posted 3 years ago was put "on-hold" as off-topic. I have not been an active participant on Code Review (I received a notification thanks to a down-vote a couple of days ago),...
My Head Hurts's user avatar
1 vote
0 answers
105 views

When expanding the guide to wonderland, I'm trying to explain what example code, stub code and context are. When trying to explain why example code is off-topic all I can think of is something like: ...
Peilonrayz's user avatar
  • 44.6k
5 votes
1 answer
130 views

I am about to upload a fairly large project of mine, a very flexible component-entity-system. More precisely it's a framework for a CES. It consists of 22 files, ~1000 lines of code and 20000 ...
MatrixAndrew's user avatar
6 votes
1 answer
114 views

Take a look at the code in this recently closed question. It clearly consists of two parts. The method, which OP wants us to review. An example (hypothetical?) code, which demonstrates the use case ...
Nikita B's user avatar
  • 13.1k
1 vote
1 answer
122 views

A handful of people seem to have formed the opinion that an example project is exempt from this topicality constraint: Is it actual code from a project rather than pseudo-code or example code? The ...
Dagg's user avatar
  • 4,571
4 votes
1 answer
176 views

From the FAQ: I'm confused! What questions are on-topic for this site? Simply ask yourself the following questions. To be on-topic the answer must be yes to all questions: ... 3. Is ...
Dagg's user avatar
  • 4,571