There are updates to this page that haven't been applied because you've entered text. Refresh this page to see updates.
Hide this message.

Do interviewers frown at potential hires when they use Ruby or Python to solve an interview question?

People often suggest answering interview questions in C, C++ or Java. Do interviewers frown at you if you use Ruby or Python instead to solve an interview question?
Raymond Array WangRaymond Array Wang, For (whom = does; the != bell;... (more)
4 upvotes by Waqar Hameed, Adrian Oprea, Amit Patra, (more)
I'll pull out the Art of War here.  "If you know yourself and you know your enemy, you will be ever victorious." 

Learn the differences between each of the languages and approach the problem.  Then the answer will just jump out at you.  If the problem is best handled via object-oriented design, then Java or C++.  If development speed is needed, I find java code to be more intuitive.  But if you need to do direct memory access operations, then C++ will be better off.  If it's a fairly simple parsing, you can use regex or a scripting language.  If it's a simple recursion problem, OCaml might be the cleanest way to write the code.
I completely agree with Edmond Lau..I believe it is a good idea to know one primary languages (c , c++, etc) and one high level language (JAVA, RUBY, PYTHON) for the ease solving the problem(focus == problem) rather than worrying about the underlying details.
I would use whatever language the programming position calls for.  If a language isn't specified, I'd be dubious of the ability of the company to execute.
1 Answer Collapsed
Write an answer