Managers who are interviewing candidates for developer jobs often ask specific, direct questions about syntax, memory management or programming challenges. But this might not be the best approach, because anyone can look up these things with a simple Google search.
Instead, interviewers should focus on finding out whether candidates have the logic and interpersonal skills to do the job. For example, interviewers could ask an interviewee to explain how a hashed collection works or why garbage collection is important. Another good technique is to ask a candidate to work on a programming task with someone who already works for the company. Finally, interviewers should ask candidates how they would go about looking for the answer to a programming problem.