What is the proper way to correct trivial mistakes in answers? Correctness of even small details is desirable, but especially important when programming. Examples:
Case A:
Use the FooBra library.
This is a typo, as everyone know's it's FooBar.
Case B:
Use FooBar's size method.
You believe another, conceptually identical, method (in the method-of-a-class sense) is more appropriate. Must not be different ways to get the same final state, as that would be a conceptually different answer. You might be only mostly sure and somewhat asking for clarification. ('size' is in the answer, but you believe 'length' is "what he meant".)
In no particular order, these are what I think are the important aspects:
- correctness: of the answer, but also of the answer's author's intent
- e.g. the author honestly believes exactly what they said is correct, instead of being close to what you believe is correct with a typo as the difference
- credit: given where due
- cruft: keep the answer clean
- repetition: avoid nearly identical answers
- e.g. worst case: 1,000 word post copied because of one typo
- disputes: avoided
Only non-community-wikis are relevant here, as part of why wikis work is such corrections can be edited easily, and the vibe I get from SO is that even more liberal corrections are acceptable in CWs than what I'm targeting.