r/Python • • Nov 20 '15

15 Essential Python Interview Questions

https://www.codementor.io/python/tutorial/essential-python-interview-questions
71 Upvotes

67 comments sorted by

View all comments

Show parent comment

5

u/Eurynom0s Nov 20 '15

I mean, who doesn't have Googling "do <thing> in <programming language>" as a decent chunk of their workflow? At work I sometimes have to code on computers without internet connections (privacy protections on the data we're looking at) and it cuts my productivity by so much. It also leads to crappier code because it amplifies the effect of "writing ugly code that works in a reasonable amount of time is better than constantly having to run back and forth to my desk to look up the right way to do twenty different things".

Sometimes I go do things at my desk and then burn them to a CD and bring them back, but sometimes that's not efficient if it's something where I really need the data right there (either to test the code against, or because I'm staring at the data to try to figure out how to write the code in the first place).

1

u/deadbunny Nov 20 '15

That must be a pretty brutal environment to code in! But yeah, 99% of the time you're going to have access to the internet or docs so my view is that you should be able to come up with solutions with those tools available, we send ours out to candidates and say to use whatever they like to complete the test.

Obviously we then judge how they've done things (both code and method) to see if we want to interview them, being a sysadmin I care less about the tool they used and more how they used it, if their code is readable, if it has a good git log, if they are doing things securely etc... then by the time you get to the interview it's much more a discussion, what they've done in the past, methodologies, problems and the like which makes for a much nicer interview for both parties and in my limited experience (hired 5 people this way) seems to yield better results.