Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Often in StackOverflow, you find a C# or Java question that is not specifically asking for multi-threaded code, but many answers and comments focus on providing a thread safe solution. Should this be encouraged? Should I be writing sigle or multi threaded code in answers by default?

share|improve this question

closed as too localized by George Stocker, juan, Ladybug Killer, random, Troggy Dec 17 '09 at 0:29

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

If the likes of Donald Knuth have problems with Multi-threaded code; then chances are good your average Stack Overflow user will. Just sayin'. – George Stocker Dec 15 '09 at 20:26
Just curious, how is this blatantly offensive? I'll be happy to delete if someone will fill me in. – C. Ross Dec 15 '09 at 20:33
ah, the joys of multi-threading.... – Troggy Dec 15 '09 at 20:48

Hell. No.

Imagine the scenario: Fairly new to the language user wants a bit of help doing something. They either find a question here, or ask their own. They find some crazy-threaded example, when they're still not really sure what threads are! SO is for everybody, not just the elite. How do I do X (with multithreading) is a totally legitimate, but entirely seperate question.

share|improve this answer


I write single threaded code by default, both when programming and when answering questions. It's basic adherence to the YAGNI, and it makes things less confusing for beginners.

I don't mind getting multi-threaded answers myself, it's sort of a value added thing.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .