Hacker News new | ask | show | jobs
by Caerus 4809 days ago
Over the years I've evolved the strategy of asking very specific questions like that on forums. Precise code snippets seem to get precise answers. Broader code with the same problem attract many times more answers, but they are almost all junk.

When I stumble on some unusual behavior I pare it down to the simplest case possible, then ask about that problem. If I don't, the top several answers will invariably be "Why are you writing in X?! Y is so much better for this" and critiquing other parts of the code that aren't causing the odd behavior.

1 comments

Or, if you really like acronyms: SSCCE http://sscce.org/

Short, Self Contained, Correct (Compilable), Example

This applies to answers on SO/lists/forums/etc, as well as questions. Everyone benefits from clear communication and examples.