Comment by gmm1990

1 day ago

Would this be like entering the python terminal and typing print('hello world') or python hello_world.py that has the print instruction? Or something else. I'd just be unsure if a python installation like the python.exe would be available in a terminal.

I'm more curious than anything else for my own sake to know things people might ask. But its interesting how extremely simple things can be complicated if you haven't done them before. Like if someone asks about a relatively simple regex example in python it'd be easy to get if you just were working on a regex but you could get tripped up if it had been a while since working on one. You could say the same thing about working with datetimes. At least this is the type of thing that throws me off in an interview, maybe I'm not a great candidate though.

I expect `python hello_world.py`, but if people are confused I just nudge them to what I expect. It is not meant to be a trick question.

If people do not have local setup, I just have them write out in text editor and walk through the steps. Maybe not 75% fail rate, but more like 50% of people fail this step in the tech round.

  • Isn't your experience highlighting what the article is suggesting though? That needing to do this during an interview is what causes these failures rather than an inability to actually perform the requested task.

    It seems like the suggestion is to put them somewhere private to perform the task rather than asking them to do it in a public setting.

    • The rub is the take home assignments are not good either.

      I do personally let people pass the tech if they have good open source work (a good tech blog, legit python repo's, not just trivial homework stuff they did in school). So few of people have that though.

      1 reply →

  • Just to clarify, do these 50% regularly develop using python, and did they understand the question?

    It seems unavoidable to know how to run a script if you've done it within say a month. Now not remembering the if __name__ == __main__ thing is more forgivable.

    • These are 100% people who claim to be senior ICs with years of developer experience in python. The resume thing that list being expert in dozens of libraries, etc.

      It is even less tricky than you are thinking. I literally just want them to know you need to put in a `hw.py` file `print("hello world")`, and then run from the command line `python hw.py`.

      The reasons for failure are myriad (I suppose you could say it is they do not understand, but I legit try, regularly spend 10-20 minutes on just this for the ones who have problems, I am not being tricky). A few are people who do not know file systems (save their `.py` file in a wrong location), a few I think just do work in environments like served jupyter notebooks so don't have any relevant software dev experience (don't know how to execute python directly or write code in a .py file), some I am pretty sure are just liars on their expertise (have a few that just leave interview when asked this question).

      1 reply →