I just want to discuss my question which was put on hold:
I'm not ranting or arguing. I'm just trying to ascertain why my specific question was not on topic, and if it could be on topic here.
I am new to this site, but not new to Stack Exchange at all. I did read a fair bit of the help center before submitting my question, and a bit of searching in Meta for "review" and "best practice" etc. It seemed what I was asking was ok, mostly based on:
If you are looking for feedback on a specific working piece of code from your project in the following areas…
- Best practices and design pattern usage
then you are in the right place!
it's okay to ask "Does this code follow common best practices?"
And I couldn't see a requirement that the code needs to be my own.
However, I'm not even asking about the code, but the design/approach, and the only reason I included the code is just to show the design approach I am asking about.
I could have written my own code out, but it would have been just about the same as it's a specific design approach, and probs used by many other people and applications all with very similar code.
Is there any way my question could be on topic? I have a basic description of what the code does, which is again just about a "design approach". So if I removed the code entirely, and changed the description to just describe the design pattern/approach, would that be ok?
I included the code so people know what I was talking about.
No probs if this will always be off-topic.