2 comments

[ 26.9 ms ] story [ 145 ms ] thread

  Q: Is Ruby whitespace-dependent?
  A: Sometimes.
This is a frustrating question. Almost all languages are dependent on whitespace. A better question would be to ask where whitespace is significant in ruby code.
at first I thought this was a humorous documentary about the sorts of dumb questions that novice interviewers use to make themselves look smart. But I fear after looking at it for a while that it's intended to be serious.

'falsy'...really? Unless you're interviewing for a language implementor, that's pretty ridiculous. That's an inside baseball question that bears no relation to actual ruby programming.