Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
On the contrary, I think that it is appropriate and recommended practice. That way you (the poster of the question) can pick your own answer as the "official" one, since these post often (ought to...
Answer
#1: Initial revision
On the contrary, I think that it is appropriate and recommended practice. That way you (the poster of the question) can pick your own answer as the "official" one, since these post often (ought to) take a lot of time to write. Although others are obviously also welcome to post other answers even though it is self-answered Q&A. If you decided to post a self-answered Q&A you likely do so because you think that you possess some relatively in-depth knowledge of the specific topic. If someone who doesn't know the topic quite as well as you posts an answer, you might want a way to single out the self-answered one by other means than looking at the user name. --- As an example I once wrote some self-answered Q&A regarding [error handling](https://software.codidact.com/posts/286190) where I clearly wasn't on the same "wave length" as the community. The question itself was well-received, but it was a bit of a subjective and sensitive topic. My answer was apparently too controversial to the regular devs who've been taught how to do error handling by the book for standard applications. Whereas my answer actually originated from experience of implementing the C standard library and similar library-quality code to be used in hard real-time, safety-critical applications - something that probably not many users here have experience of. Either way, I didn't quite managed to get the point through and the self-answered answer got down-voted to oblivion. I could still use "works for me" to single out my own answer, or otherwise going by votes cast alone, it would make my answer seem low quality. (I stand by the position that excessive and superfluous error checking should not be done inside libraries but as close to the point in the calling code where said error may appear for the first time and votes be damned. The answer probably did not get the argument through though...)