in reply to Update code snippets?

I've seen in the past nodes modified to reflect suggestions made in answers, so I don't see why you should not update your code snippet. The reason of a code snippet is to provide something useful, not asking a question like in SoPW.

Btw, isn't it strange to see three italian monks talking in english? :))

Ciao, Valerio

Replies are listed 'Best First'.
Re: Re: Update code snippets?
by abell (Chaplain) on Mar 03, 2003 at 20:45 UTC

    Make it four ;)

    If possible and if the change is limited to a few lines I would comment out the old version with a little note explaining what changed and why. This way you would have the new code but keep track of the reason for previous comments. Anyway, I also second larsen's and valdez's hints.

    Cheers

    Antonio

    The stupider the astronaut, the easier it is to win the trip to Vega - A. Tucket
Re: Re: Update code snippets?
by allolex (Curate) on Mar 03, 2003 at 22:31 UTC

    È un po' strano, davvero? And I'm not even Italian.

    It looks like the best way to do it is to add a little note at the bottom saying "Update: fixed code as suggested by ...". Then you can add comments to show what was there before.

    --
    Allolex