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?
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?
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.
"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 language-agnostic) 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: