3

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.

6
  • You need the same but now for Ruby, is that the case? And this doesn't answer your question in Ruby?
    – rene
    Commented Apr 21, 2014 at 9:12
  • Yes, the purpose of the script is exactly the same.
    – olyv
    Commented Apr 21, 2014 at 9:15
  • In general a new question would be appropiate so to answer your question: I would not add the ruby-tag. I can't imagine that the specific question you want to as is not already answered. My search indicate that already, I think.
    – rene
    Commented Apr 21, 2014 at 9:19
  • Thanks a lot. To be honest, I didn't manage to find the answer you have provided above. So, first of all I should try this Ruby example.
    – olyv
    Commented Apr 21, 2014 at 9:22
  • 1
    Really? I searched for http://stackoverflow.com/search?q=%5Bruby%5D+write+base64, the second result is the one I picked...
    – rene
    Commented Apr 21, 2014 at 9:25
  • My fault. I need to use search more carefully. About StackOverflow question, it works the same wrong way. No idea how it can be.
    – olyv
    Commented Apr 21, 2014 at 9:40

1 Answer 1

3

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).

You must log in to answer this question.

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