|
|
|
|
|
by Bartweiss
3416 days ago
|
|
Amusingly, significant whitespace is the one reason I don't like using Python in whiteboard interviews - my handwriting is far from excellent on a board, and I don't want any ambiguity when reading my control flow. I'll definitely second the list comprehension point, though. Between that and pleasant string support, a lot of standard interview answers are maybe 50% as long in python as Java. Not easier, necessarily, but faster to write and cleaner to read. |
|
Even if you aren't using python, it will give you more room to work (the other part of this is divide the board before you start).