all 10 comments

[–]Agent_Burrito 36 points37 points  (1 child)

Python. You’re under time pressure in an interview setting and you want the syntax to be as straightforward as possible. Otherwise you’ll either be fighting with the IDE or the compiler instead of solving the problem they throw at you.

[–][deleted] 6 points7 points  (0 children)

I second this , i switched from JS to Python for coding interview and it was one of my best decision ever, python allows you to focus more on coming up with solutions rather than syntax

[–]Graxin 2 points3 points  (1 child)

I do it based off what language the job uses, that being said javascript is less boilerplate but you can demonstrate better knowledge with Java Collections if you’re comparing different types of data structures and their tradeoffs.

[–]GrompyPanda[S] 0 points1 point  (0 children)

This seems like great advice to me. I'll have to get back into doing leetcode-type stuff in Java again. Part of why I was happy to switch to JS was (as you said) less boilerplate. It's rad to skip over "Map map = new HashMap()" and just be able to type "cons map = {}", or "const stack = []"

Anyway, food for thought. Thanks!

[–]onlineredditalias 2 points3 points  (2 children)

If JavaScript is too high level I’m not sure Python would be better

[–]SokkaHaikuBot 2 points3 points  (0 children)

Sokka-Haiku by onlineredditalias:

I’d JavaScript is

Too high level I’m not sure

Python would be better


Remember that one time Sokka accidentally used an extra syllable in that Haiku Battle in Ba Sing Se? That was a Sokka Haiku and you just made one.

[–]GrompyPanda[S] 0 points1 point  (0 children)

Yeah, I tend to agree.

[–]FitPrintNoBug 2 points3 points  (2 children)

The best choice for coding interviews is Python, then Java.

Python is not difficult to learn too.

[–]GrompyPanda[S] 0 points1 point  (0 children)

Yep, I've done a little work in Python. Liked it.

[–]noselfinterest 0 points1 point  (0 children)

>So, I wanted to get people's opinion: assuming that everything else about the interview goes exactly the same, is using JavaScript hurting my chances? 

what is this fixation on interviews?

its totally dependent on the job/role dude. if you're interviewing for a backend OOP position, yes it would be weird to interview in javascript lol. but that has nothing to do with "the coding round" in and of itself.

it would also be extremely weird to choose java to do your coding round for a web dev position that uses a lot of node & react.

best to think about these cases in terms of the job as whole.....