We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,477 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

How to fix a Code Snippet

What is the recommended way to make changes to a code snippet that I have posted after the half-hour edit period is over? Would it be to add another posting with the new code or make a new posting and somehow invalidate the original, or could the edit period be reactivated or is it something else altogether? Is there a community concensus on how to edit a code snippet?

3
Contributors
2
Replies
1 Week
Discussion Span
7 Months Ago
Last Updated
5
Views
Question
Answered
Nutster
Junior Poster
129 posts since Oct 2006
Reputation Points: 62
Solved Threads: 19
Skill Endorsements: 3

After the 30 minute cutoff, you can't edit your original post. You now have two options:

  • Make a new post with the suggested edit
  • "Flag bad post" your original post and request a moderator to make changes on your behalf

I personally feel that the first option makes more sense since you don't have to wait for a moderator to make the changes so that you/others can see them. So yes, just make a new post saying that "edit: new snippet here" or something along those lines.

~s.o.s~
Failure as a human
Administrator
12,247 posts since Jun 2006
Reputation Points: 3,307
Solved Threads: 787
Skill Endorsements: 55
Question Answered as of 7 Months Ago by ~s.o.s~

I would suggest replying to the code snippet with a version change.

Dani
The Queen of DaniWeb
Administrator
21,577 posts since Feb 2002
Reputation Points: 1,555
Solved Threads: 376
Skill Endorsements: 124

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page generated in 0.0580 seconds using 2.63MB