What are the main advantages of using Python in FAANG interviews over Java or any other language?
Panasonic Avionics
hnreg3
May 26, 2018
5 Comments
Is it the Easier Syntax? Less prone to errors? Makes white board coding easy? Shorter code? Useful High level constructs? Which of these?
comments
Easier syntax, almost like writing English
Really powerful library, almost like a cheat code
Java can do almost the same but is verbose
C++ has ugly syntax and you need to worry about pointers, references and nulls
C, well, doesn't have any libraries
Python is cheat code
Python is slightly less writing, because: no curly braces, no type declarations anywhere, and you can easily iterate a list and have access to both the value and the index.
I did my own interview in Java, and I didn't feel like it got on the way, because I took extra time to figure out overall layout so no need to ease/redo large chunks.
If you have to make a major edit, Java is kind of a pain on a whiteboard.