1

I have an old question, it has a sample of code. If I want to reference this code in my new question, how should I do ?

Should I add a link to old question in my new question or comment ?

2 Answers 2

8

All questions should be self-containing.

Put the code that is needed for the new question in it. Additionally you can reference the old question for context.

4
  • 1
    May it be duplicated Question ?
    – zey
    Commented May 10, 2013 at 11:31
  • You are having an follow up question and not the same question again, right?! To make the differences clear you can state that you have a different question about the same code.
    – juergen d
    Commented May 10, 2013 at 11:34
  • If a new question is essentially the same question it makes much more sense to just edit your original question. Commented May 10, 2013 at 11:35
  • Not a same question , but on a same code :) Thanks !
    – zey
    Commented May 10, 2013 at 11:37
1

All questions treated individually.

If your another question requires the link to previous question you can put the link of your previous question site into the current one or you can update the question by Re posting the old code with some new features.

You must log in to answer this question.

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