3
\$\begingroup\$

About 8 months ago, I asked a question on gamedev:

Consistent cross platform procedural generation

The discussion there inspired me to write some C and C++ code myself to deal with the issues raised in the question (I couldn't find anything existing that really fit my use case), which I have been successfully using for a while. I just split out into its own public github repo.

My question: would it be appropriate to provide a link to the repo (with an appropriate disclaimer that the question author wrote it)? I think it would be of some value to someone else that came here with a similar problem, and the code is too big to paste directly.

If so, would it be most appropriate to (1) add it as a note to the end of my question that this was the direction I went, or (2) add it as a new answer?

I don't consider this a duplicate of:

Is it good tone to link your own (open source) projects to support your answer?

as in this case it was my question originally. When I asked the question I wasn't expecting that I'd write this code myself (I was expecting "everyone uses <...>" which I'd then go and use too).

\$\endgroup\$

1 Answer 1

4
\$\begingroup\$

Not only is it appropriate, but it is encouraged to answer your own question. However, do not provide a link-only answer. In addition to the link, provide a summary which can stand alone should the link ever rot. Thank you for your contribution!

\$\endgroup\$
2
  • 2
    \$\begingroup\$ My main concern was that answering my own question with a link to my own project could be seen as spamming, but that is a very good point - I'll post information that stands alone along with the link, including some sample code. \$\endgroup\$
    – MadMan
    May 24 at 20:42
  • 1
    \$\begingroup\$ I feel like my answer for the linked question holds for this one as well. Since this answer seems to be in the same spirit, I'm upvoting rather than repeating. \$\endgroup\$
    – Pikalek
    May 25 at 13:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .