On May 25, 2009, at 9:40 AM, J Haas wrote: > As I said, I was surprised to be told that my proposal was impossible > and I lack the theoretical background to prove otherwise. So if anyone > out there agrees with Tony that Pythonic indentation in Ruby would not > be merely ill-advised but _impossible_ I'd appreciate an example. Then > I can stop wasting my time. I was on a questionable connection at the time, so my original message may not have gotten to the mailing list: > cat impossible.rb # This one can't be done in Pythonic style: result = case ARGV[0] when /^\d*$/ "That's an integer!" when /^[A-Za-z]*$/ "That looks like a word..." else "That's not an integer or a word." end if ARGV[0] puts result if result Cheers, Josh