From: James Britt Date: 2005-08-20T07:16:01+09:00 Subject: Re: Python vs Ruby! tony summerfelt wrote: > James Britt wrote on 8/18/2005 11:33 PM: > >>(My biased take is that this is something Pythonitas >>like to toss out about any language that allows more than one way to do >>anything.) > > > imho, this completely alienates newbies from the language. > > when i first learned perl ten years ago or so i did something like this: > > $_=$text # do something with $text > if ($text eq "test) > { > print "matched" > } > > and it worked. nobody called me names. said i was doing it wrong, etc. > > after i learned more perl that kind of thing changed a few steps and i > ended up writing it this way: > > $_=$text # do something with $text > print "matched" if /test/i > Absolutely. Over time, one hopes to acquire good taste in coding style and temperament, but typically the goal is to get code to run, and run right, and then refactor to beauty. James -- http://www.ruby-doc.org - The Ruby Documentation Site http://www.rubyxml.com - News, Articles, and Listings for Ruby & XML http://www.rubystuff.com - The Ruby Store for Ruby Stuff http://www.jamesbritt.com - Playing with Better Toys