You’re interviewing for a Ruby job, and the interviewer poses the following question:

You’re reviewing some code and find the line config ||= config. What do you infer?

Well, what DO you infer?

  1. The author of that code is insane.
  2. The author is sane, was trying to __________
  3. The author is sane, but didn’t know about Ruby feature __________
  4. The company is insane for posing questions like this in an interview.

(Question courtesy of Peter Cooper)