I frequently ask questions about algorithms, data structures or low-level stuff on SO and I've noticed that most people specify the language they're working in when asking these kinds of questions. I don't and my rationale is as follows:
- If you really understand the solution to a generic problem, you should be able to explain it in a language-agnostic way, and if you're a good programmer you should be able to understand an outline of a solution written in a different language than the one you're used to, or in plain English or pseudocode.
- I am interested in input from people who may use different languages than I do.
- I primarily program in D, which is bleeding edge enough that there aren't very many canned libraries and not many people know it.
- I usually want to understand the solution at a conceptual level rather than just getting a black-box code snippet.
Is there any counter-argument to this? Why should you make your question non-language-agnostic if it isn't inextricably tied to a single language?