From: James Britt Date: 2009-05-22T03:52:05+09:00 Subject: Re: Pythonic indentation (or: beating a dead horse) Tony Arcieri wrote: >> > You are proposing a Rube Goldberg contraption whereby the scanner would > require some degree of grammatical awareness. This is a complex solution. > The minor flaw is that you don't like "end" statements. Is the minor flaw > of having repeated end statements really worth the level of complexity the > solution would require? Complexity never goes away (I imagine there is some Conservation of Complexity defined someplace), so you have to decide where you want it. If you push it down into the parser, you may gain something at the code-writing level, but odds are that when a new feature is proposed, or a bug discovered, adding or fixing things will be much, much harder. A magic whitespace addition could be a Pyrrhic victory. -- James Britt www.jamesbritt.com - Playing with Better Toys www.ruby-doc.org - Ruby Help & Documentation www.rubystuff.com - The Ruby Store for Ruby Stuff www.neurogami.com - Smart application development