Check out this blog post by Spolsky, half paraphrased:
- "Don't answer questions that have already been answered elsewhere."
- Only close real duplicates
- Edit questions to make more general
- "Help us build a great library of canonical answers."
I agree mostly, but I do work hard curating my material, so I like getting credit for it (as opposed to turning it into community wikis).
A few of my curated answers:
- Performance Breakeven Analysis - "This is really nice, thanks!" & "You should write a book!"
yieldkeyword in Python - an answer with an appendix and footnotes! :)
- Static methods - "The fact that your answer is so far down the list is the only reason I can think of for so few votes"
- Append vs. Extend - "best explanation[s] I have ever seen ... job well done"
- Dictionary Autovivification - "This is a great answer. Thanks for introducing me to
__missing__", "Why isn't this part of the standard library? :)", and "I really like this solution. Scrolling down really pays off"
- @staticmethod vs. @classmethod
- Check if a directory exists and create it
- How to ignore Exceptions
- The index in
forloops - "beautiful explanation :)"
Floating Point Division - "+1 for this clarifying answer! ... showed why not convert to float and ... new division in Python 2!"
Monkey Patching - "This is the most complete answer to this question." & "Thank you for ... illustrating use in unit testing..."
My Last Talk at PyGotham! - The Python Datamodel: When and how to write objects