Scala or Java for interviews?

Would you use scala or Java for interviews if you've been doing scala for long, but the target company uses Java as the primary language. Assume you're equally proficient in both but need to refresh your Java chops.

Add a comment
Dropbox f(x) Dec 14, 2017

Scala will add you some brownie points

Google memegen12 Dec 14, 2017

Java because most interview questions are designed for java. Implementing tree or dynamic programming on Scala is difficult, especially if they are going to ask about complexity. Using Scala with immutable lists will be like this simple operation is O(n).

Twitter 80bo76 Dec 14, 2017

Scala if they accept it, it’s to your advantage to use the language you’re most familiar with

Microsoft lgbJ78 Dec 14, 2017

Whatever you're more comfortable with for algo questions. Don't worry about impressing the interviewers

Illumina Dead beef Dec 16, 2017

>Scala or Java? Python

Chase ymjD42 Dec 10, 2018

using Scala to resolve a graph problem might be tricky.