Is asking “why” on language specs still considered as “primary opinion-based” if it can have official answers?
Long-time readers of my blog or my answers on SO know that this whole area is a peeve of mine.
The fundamental problem with the "why" question is not that the answer is an opinion. The fundamental problem is that it is impossible to know what will satisfy the person asking the question because the question is vague.
The question is often phrased "why does program X produce behaviour Y?" The answer given is often "because section Z of the specification says that's the right behaviour". Does that answer satisfy the original poster? It seems unsatisfying; it seems like it answers a "why" question with "just because". It seems like the natural next question to ask is "but why does the spec say that?" Because that's what the spec authors wrote. Well why did they write that? Because that's what they thought the best way to define the language was. Why did they think that?
Well, I've been in many, many hundreds of hours of those meetings and let me tell you, the reason why they thought that is because there were ten people in a room, half of them had strong opinions, and there was a back-and-forth argument about it for months on end before a reasonable compromise was struck that left everybody pretty happy. And then the design was shown to some senior architects, or put up for discussion on GitHub, or whatever, and the whole thing was torn apart again and put back together in a slightly different form.
There is no "clean" answer to the question about why the particular sausage was made that way. Design is complex, is iterative, and always is the result of carefully chosen compromises between many competing and incompatible goals.
But maybe the original poster was just interested in where in the spec the justification for the behaviour was. In which case all this philosophizing is just a waste of time. The question is vague; let's push back on these questions and make them more crisp.
Even worse though is "why does program X NOT have behaviour Y?" or "why does language L not have feature F?" Now we're asking for a reason why something does not exist; it is hard enough to justify why something does exist. Justifying why the world isn't the way you think it should be is pretty much impossible. It's like making small talk at parties by starting with "so, why don't you sail?" How is a non-sailor supposed to even begin to answer that question? See Is it subjective to ask about why something wasn't implemented in the language? for more thoughts on that.
My preference is that "why" questions be rephrased into "what" questions that have answers.
"What section of the specification describes this behaviour?" is a question that has an answer that certainly has a reference.
"What are the C# language design team's opinions on the proper use of iterator blocks?" is a question that has an answer, and that might have citable reference materials, or at least has actual people around that you can ask.
"What are some reasons why a language designer might push back on this proposed feature?" is a question that has an answer; it's not a question that has a lot of written reference materials, and it is verging towards opinion based, but it's a question I've answered a lot. The question at least makes it clear that we are looking for design considerations, and not a spec reference, and that's something.