4

This morning I ran across the following 'question' on SO, where the user is asking for his VB.NET code to be converted to C# --

Need C# code converted to VB.NET for Silverlight "Export to CSV"

I don't feel like this is a real question, but what does everyone else think

2 Answers 2

7

I don't think that a strict "convert my program from one language to another" is a good question. It's basically asking people to write the entire program for you, so it's not too different than that class of highly disliked questions. Stack Overflow is no more a place to free-commission code translation as it is a place to get people to do your programming for you.

However, code conversion itself is a legit topic. I know I've seen general "How do I convert this language to this language safely?" questions, and a similar class are the "How would I replicate the effects of X that I do in my language, using another language?" questions. Any vague "convert my program from one language to another" question can basically be broken down into these component parts, and either asked as their own individual questions or the answers to the components sought out. That would be the proper approach to trying to tackle a program conversion... research the methodology for general case translation, then highlight the topics that aren't covered.

2
  • That's about what I thought
    – msarchet
    Commented Jun 20, 2010 at 16:00
  • Absolutely. Now on the other hand, if the question was restricted to "how do I write this particular bit of .NET syntax in java", that's fine. Sometimes it's hard to know how to ask a question, without using terminology from a language one is already familiar with.
    – Ether
    Commented Jun 20, 2010 at 16:10
1

I agree, this is Off-Topic, there are a ton of converters around the web, and it is not a real question.

And for 'I need this and that done ASAP' questions I always reply with 'SO is not Rent-A-Coder'.

You must log in to answer this question.

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