Skip to main content
3 of 3
added 4 characters in body
Braiam
  • 4.5k
  • 13
  • 154
  • 265

At first I was adding these snippets all as separate answers to a single question tagged with the c++ c# java etc. (and nxopen), but the community generally didn't approve the use of all those tags at once (which I understand completely; however, they were really valid here), so I decided to restrict the question to only a single language. After doing this, my question (in C++) got several upvotes and all seemed well, until I created another question (about the exact same topic, only in C#). Then and there, the second question (and soon the first question, a little) got downvotes and close-votes.

Well, that's the sad reality of the current state of the things, which I've complained about several times in the past. But some solutions are at hand, despite what other recommendations say: if your question is about a framework which has facilities for several languages, unless your question is about problems in the language-framework combination, do not use the language tag at all. The answers should specify which language the solution is targeted at if the question doesn't specify it, and some language is needed to illustrate the solution. This is the same thing samcarter suggested in comments. That is consistent with guidance provided by the help center:

Any answer that gets the asker going in the right direction is helpful, but do try to mention any limitations, assumptions or simplifications in your answer. Brevity is acceptable, but fuller explanations are better.

You don't need to limit your answer to a single language if you can target all of them, the same way you don't have to limit yourself to a single version if you can target all of them.

Now, in general, maybe what you are attempting is to create some documentation for the framework. Sadly, that is something we are unable to cater to. The documentation basically describes the tools and how to use them; our model is geared towards solving practical problems you face and which have some context on why the problem exist. Try to focus your questions less on the abstract and more on the specific implementation challenges that someone may face, like exposing the information from the API to some other tool, monitoring the values and responding to them, etc.

Braiam
  • 4.5k
  • 13
  • 154
  • 265