Got approached by a #facebook recruiter, now since they are hiring remote in #Canada. The recruiter explicitly asked me to not use #javascript and instead prepare in #python, #c++ or #java. Is this a common practice? How does it matter which language I use? It's funny how they wrote Facebook in PHP to begin with, this recruiter should've stopped them then. TC: 🥜
Who in their right mind would use js for an interview
When it's the only language you know
I’ve used it for my interviews at Amazon, Facebook, Google and worked at both of those before coming to Google. You would be surprised I’m not even a frontend engineer, full stack at all three companies. There goes your baseless theory?
All of our current infrastructure is written in node, it's been pretty good so far.
I always use js in my interviews and had zero issues using it with FB. It's just simple and easy to read. I don't understand what may be the issue since you don't even run your code in FB interviews
> easy to read Someone hasn’t been on call yet
When did you interview last? They seem to now have a leetcode style website for interviewees.
I’ve seen people using js all the time. I don’t mind people using that in interview. Some interviewers may not familiar with the js syntax especially infra forks. It will be nice to explain a little bit about some of the syntax not available in other languages.
is it for a specific role? i have never heard this before. I used js in my interviews , plus hack is a lot like js. so unless you are targeting a specific role it should not be an issue.
Not that I know of, I don't even know the level, but it's going be L6.
It's hard to judge LLD with dynamically typed languages, so some interviewers prefer c++/java over py/js. They like to see how well you create method signatures / interfaces etc. So even if they allow using js/py, it's hard to sufficiently impress them. IMO dynamic languages hide some traits, esp in smallish programs you write in an interview.
But you could use typescript and python types
Typescript solves the problems you mentioned
Python is a billion times easier for interviews than js. Learn python or ruby.
I am a bit rusty in Python, I don't want to keep on looking at the documentation. I've been writing services in JS for atleast a few years and know the language inside out. I am not saying you're wrong, I am asking if this is something I should be worried about.
Lost me at Ruby. If you removed that, I think you'd have 10x more likes on your post, FB.
Wrapping your head around scopes and references is not easy, I believe it takes practice to spot these anti-patterns which are most likely the cause of 80% bugs I've fixed in my career.
It's mostly about types (usages, etc). Assuming we are talking about JS and not TS.
Whenever I’m asked to write in Java,Kotlin,C++ it is always a “snr backend” role. Recently was doing tests for a role in Twillio using Kotlin as JS was not in the list of choices on Hackerrank.
It's probably because people doing interviews in JS fail the interviews(partly due to the Lang not being good for algo, partly also because bootcampers)