I am tasked with hiring some new programmers for my software business, and need to solidity on an interview approach. I have been thinking about one of two approaches and have listed them below. Does anyone have any advice on which approach might produce better results?
Approach 1: Asking several question about the syntax of a particular language that can be looked up in a book. Trivia-like questions, such as the difference between ref and out or what is the difference between session state and view state.
Or
Approach 2: Present several real world programming problems and ask the applicant to write some pseudo code right there on the spot. Stuff like, show me how to implement the state pattern for a particular scenario or implement a strategy pattern with a factory to solve a particular problem.