On the other end of the stick, an interviewer really should avoid really tricky code interviews&#x2F;tests. I find reading a candidate&#x27;s code is more useful to evaluate their ability to write clear code, to open up conversations about harder problems around the code, or optimisations, or whatever, than to probe their knowledge of programming tricks.<p>Having a gotcha coding test where even good candidates would spend a lot of hours or miss entirely is not very interesting, as most working solutions will resemble themselves and not really show the strengths and weaknesses of the candidate.