From: pat eyler Date: 2009-05-21T05:31:07+09:00 Subject: Re: Pythonic indentation (or: beating a dead horse) On Wed, May 20, 2009 at 12:35 PM, J Haas wrote: > On May 20, 8:51 am, Rick DeNatale wrote: >> This sort of structuring pieces of code stopped me from trying Python >> seriously. > > And I specifically addressed this in my OP. A lot of engineers who > haven't done work in Python think that the idea of giving syntactical > significance to whitespace is a ridiculous idea. I used to be one of > them. Now I know better. Don't knock it until you've tried it. And you're on a mailing list full of people who find that the Ruby-way makes sense to them. Don't knock it until you've tried it. >> Wouldnt this be the easiest way to solve your problem? > > The easiest way to solve _my_ problem would be for me to use one of > the preprocessing scripts that impose Python-like indentation syntax > on Ruby. But that wouldn't solve the larger problem, which is that > Ruby could be better than it is. > Or not. Beauty is in the eye of the beholder. Thinking that the new (to you) language that you're working with today would be better if it were more like your old language is a big reason that so many people write [perl|C|fortran] code in so many different languages. -- thanks, -pate ------------------------- Don't judge those who choose to sin differently than you do http://on-ruby.blogspot.com http://eldersjournal.blogspot.com