2
\$\begingroup\$

In a scenario when I have lots of code or even when I don't have much yet, but the sole problem concerns the code architecture or design pattern etc. should I then ask such question?

\$\endgroup\$
8
\$\begingroup\$

Our help center includes the following part in the What types of questions should I avoid asking? section:

Higher-level architecture and design of software systems

We review code, not concepts, diagrams, or outlines. Whiteboard-style questions may be suitable on Software Engineering if they are specific.

According to this asking about just the design and not a concrete, existing, working implementation is unfortunately off-topic here.


If, on the other hand you do already have working and fully implemented code and want to know how it could have been designed better, this would be on-topic. You can mention in your question that you care mostly about the design. However, reviewers are still free to comment on any and all parts of your code regardless.

Therefore it might make sense to make sure it e.g. follows your languages style guide so that there is not too much distracting from your actual question.

\$\endgroup\$
  • 1
    \$\begingroup\$ I was thinking about Software Engineering too. Thanks for confirmation. \$\endgroup\$ – Prolog Apr 13 at 13:09
  • 1
    \$\begingroup\$ This doesn't accurately answer "In a scenario when I have lots of code" aspect of the question. Which is on-topic, but may not get answered. \$\endgroup\$ – Peilonrayz Apr 15 at 0:05
  • 1
    \$\begingroup\$ @Peilonrayz Well, if there is lots of code, but it's not yet working, that would also be off-topic, of course. But I added a section about the case where the code actually works and the OP still wants the design reviewed. \$\endgroup\$ – Graipher Apr 15 at 5:07

You must log in to answer this question.

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