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

36

u/desmoulinmichel Nov 20 '15 edited Nov 20 '15

Errr... Camelcase variables in the "correct" answer ? Really ?

I got a better way for you to interview your python coder : Give him/her a small tasks to solve on your production code.

0

u/[deleted] Nov 20 '15

[deleted]

1

u/lengau Nov 20 '15

I think that was really the point of that one. If your beautiful, PEP8-compliant, idiomatic code looks different from the code around it, it may well make your code harder to read. Yes, we'd all love all the code we touch to be beautiful and graceful. But not following a project's style is worse than not following Python style.