I'm having an issue posting self-answered questions here on Stack Overflow.
To begin with, I'm an NX Open developer. I develop automation programs for Siemens NX using its API called "NX Open". I have a lot of knowledge about how to do common/uncommon things with NX, as well as various problems that can occur when writing NX applications. Note: I'm not affiliated with Siemens in any way. I'm just an individual working on my own projects.
I've discovered that here on Stack Overflow, there are few questions relating to genuine programming problems that occur with NX Open, and I'm disappointed about that because there are a lot of NX Open developers out there who could benefit from Stack Overflow as well.
NX Open is available in C++, C#, Java, and Python as well as a legacy API for C, which are all about equally used among the broad community of NX users. Therefore, I tend to provide code snippets in all of the NX Open languages. 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.
I believe that it's important to show the different languages because—
- The languages vary in their usage of language syntax, libraries, and features, as well as the structure of the NX Open API itself (e.g. a class in one language is named differently, placed differently, and accessed in a different manner from that in another language)
- No one language is used significantly more than another
I've read questions such as What can be done to improve moderation of self answered questions?, How to correctly post a qa style question, i.e. self answer without it failing?, "Answer your own question -- share your knowledge" gets downvotes.
Those discussions collectively seem to indicate that the question has to be high-quality as well as the answer, which I agree with, but I disagree with the fact that questions such as this, which I opened a little bit ago, are low-quality. I find it silly to fake some steps so it appears as though I made an attempt to solve the problem. Moreover, we have lots and lots of such questions here on Stack Overflow, e.g. this, this, this, this, this, this, and a whole enormous host of others. In addition, while the general community may not understand these questions, anyone who is actually trying to develop using the NX Open API will understand them.
Those discussions also state that asking questions for self-answering "can easily come across as self-promotion or soapboxing, or as fishing for rep by posting useless trivia." However, this is not the case, as I only post self-answered Q&A like this if I've been asked the question multiple times (and with both NX Open topics I've posted about, I have.), not just any thing I've figured out how do to, so they can't possibly be "useless trivia".
This answer to a question about dupe questions in different languages says:
A .NET question, where C# is used to illustrate the question, can also be answered using VB.NET or F# code, as long as the type and method names are recognizable.
However, the differences between the NX Open languages are more than syntactical: the NX Open APIs differ and in many places not slightly; therefore it can be pretty difficult to translate correctly between, for example, Java and C++.
Does the community have any advice how to handle this situation? I really want to help NX Open users via Stack Overflow, because many, many times I've had a problem myself and it's hard when the site you go to for just about every other programming problem has almost nothing in the area you're working in.
nxopen
tag an no programming language tags?