-17

Is it accepted to write a question about programming itself on Stack Overflow, rather than something specific about a certain programming language?

For example:

What, if any, is the correct "way" to program, that applies to all languages?

9
  • Can you give us some more details on what you're wanting to ask? Without more specifics, it's really hard to tell if your question would fall into the scope of Stack Overflow, or if it might fit on another site on the network, or if it isn't a great question for the network at all.
    – Kendra
    Jun 9, 2015 at 18:36
  • 8
    It depends on the scope of the question. This is what is on-topic. That specific quesiton is way too broad (and too opinion-based).
    – ryanyuyu
    Jun 9, 2015 at 18:37
  • 15
    What, if any, is the correct "way" to program, that applies to all languages is not reliably answerable in any format in this universe. Jun 9, 2015 at 18:37
  • This is really already answered in the Help Center, but my take on it is, if you are trying to make something work and having a problem, then it goes on SO. If you want to discuss theories, or multiple ways to perform an algorithm, it probably belongs on another site in the network.
    – Claies
    Jun 9, 2015 at 18:38
  • @Claies Well, we have the algorithm and the laguage-agnostic tags. No need to be language specifi on SO generally. Jun 9, 2015 at 18:38
  • 3
    There are examples of popular, on-topic questions that are language agnostic, e.g. stackoverflow.com/questions/519520/…. Still, many questions that are language agnostic are also off topic and should either be closed or migrated. For instance, in the R tag we get lots of questions about statistics, which we migrate to crossvalidated.com.
    – josliber Mod
    Jun 9, 2015 at 18:41
  • 1
    @πάνταῥεῖ that's the point I was trying to make. It's not really about the language you are using, it's about the question you are asking. "My Algorithm doesn't work" is much different than "Which algorithm is better"....
    – Claies
    Jun 9, 2015 at 18:41
  • 1
    @Claies "it probably belongs on another site in the network" And that's the point of your comment I was disagreeing with. Jun 9, 2015 at 18:43
  • @πάνταῥεῖ I didn't say every question belongs on another site, just based on the content of the question.
    – Claies
    Jun 9, 2015 at 18:44

2 Answers 2

7

It depends, but I've seen few good questions stem from this.

In certain cases, questions about programming are on topic on SO that don't directly relate to any programming language, or relate to more than one programming language. There are two very popular examples of questions here either don't relate to a specific language, or relate to more than one language.

In the vast majority of cases that I've seen, questions that usually broach this subject are incredibly broad and not suitable to be asked anywhere in the network.

Take, for instance, your question:

What, if any, is the correct "way" to program, that applies to all languages.

That is entirely too broad. Notwithstanding the different programming paradigms that exist, not all languages support all things or concepts. Further, the nuance of "correct" is one that you'll get into arguments behind; a veteran (25+ years) engineer may have different opinions than mid-level engineer, and at that point it becomes a shouting match.

If you're going to ask a language-agnostic question, do your best to make it clear, concise, and on-topic. Don't let it be subject to as many answers as possible; keep the scope narrow and clear.

3
  • 9
    Not only is that question too broad, it should probably be held up as the definition of too broad somewhere :) Jun 9, 2015 at 18:53
  • alright, this clears it up for me, should I edit the title to have [solved] at the beginning?
    – mee
    Jun 9, 2015 at 19:02
  • 8
    NO! I mean....no. That's not necessary. Using the "accept" checkmark is enough.
    – Makoto
    Jun 9, 2015 at 19:02
4

"Is it accepted to write a question about programming itself ..."

What do you actually mean with programming itself?

From your sample

What, if any, is the correct "way" to program, that applies to all languages.

This would be a too-broad or opinion based question even without any language specific (or the ) tags applied.

There's no single correct way to program. Correctness is highly dependent on your actual programming language/environment you use.

Detailed descriptions for the mentioned close (off-topic) reasons are available here:

What does it mean if a question is "closed" or "on hold"?

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