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).