4 ms·
That's because Scala doesn't have nearly enough semicolons. Kidding aside, why do you feel Scala is unsuited to coding interviews, assuming the interviewer wel
by sk5t 8y ago
That's because Scala doesn't have nearly enough semicolons.
Kidding aside, why do you feel Scala is unsuited to coding interviews, assuming the interviewer well-understands the language?
- dominotw 8y agohard to write heap sort in functional style with immutable collections. I guess you could write imperative style code.
- sk5t 8y agoWell, ah... unless you're applying at Amalgamated SortCo Industries, asking for on-the-spot sorting implementation is pretty high on the list of absurd interview questions. Anyway I'd think one might use an array and not some other list/collection.
- bm1362 8y agoI used clojure once during an interview and bombed, passed again 2 years later at the same company with Python. Would’ve made a big difference in my equity had I just started then!
- dominotw 8y agoYea functional langs just get in the way during interviews. I can write same imperative code i write in java in scala but it just makes it harder( eg: remember to use var instead of val, mutable collections vs default mutable ect) at which point I am just better off practicing for interviews in java.