I have a question on StackOverflow Write decoded from base64 string to file where example is a snippet of Python code. Would it be a good idea to add a snippet of Ruby code and add tag 'Ruby'? Or should I create new question? I just wonder if it will not lead to disorder when some person wants to see question related to Ruby but gets example both in Ruby and Python.
1 Answer
Stack Overflow is a questions and answers site about programming. It isn't a discussion forum: we want answers that match the question, not extended discussion related to a topic.
If someone is writing a Python program and wants to decode a base64-encoded string, an answer that explains how to do it in Ruby is completely useless, and vice versa. Therefore a question asking how to decode base64 in Python and a question asking how to decode base64 in Ruby are completely different questions.
It's fairly rare that a question should have multiple programming language tags. Usually, it's for interoperability questions (e.g. how to link a library in X with a library in Y).
So ask a new question (or rather, search — given that both base64 and Ruby are fairly popular, it is highly likely that the question has been asked before).
http://stackoverflow.com/search?q=%5Bruby%5D+write+base64
, the second result is the one I picked...