|
|
|
|
|
by cepp
2101 days ago
|
|
I'll share what we've transitioned to recently: a testing focused interview! We provide a candidate a piece of production code with some slight tweaks made that will break it in (common) edge cases. Further, we give a test harness that already supplies some basic tests for which it will work. What we're looking for is to see if the candidate can grok the provided code (< 30 lines for a 2hr interview) and reason through ways it could break. Writing the tests insures that the candidate can _actually_ write the code and shows any areas they might be less focused on or miss. Compared to our old procedure of writing the (provided) code snippet this has been a far more successful approach. In 2 hours I learn more about an applicant than through the entirety of the previous process. An added benefit: this workflow is representative of real work - you'll need to track down code you likely didn't write and implement new functionality, or fix something that's broken. Doing this in an interview is a near direct translation to the job (minus understanding the whole codebase). I'd strongly recommend this unit testing based process and it can definitely be tweaked to fit your own scenario! |
|
This. The stereotypical algo interview assumes a greenfield project, but there's almost always "legacy code" you'll need to grok first.
“Indeed, the ratio of time spent reading versus writing is well over 10 to 1.” ― Robert C. Martin