From: "J. Ryan Sobol" Date: 2005-12-23T11:33:49+09:00 Subject: Re: Why not Python? (No, no, I am not a spy) On Dec 22, 2005, at 9:07 PM, baalbek wrote: > Steve Litt wrote: >> On Wednesday 21 December 2005 01:22 pm, Steffen Mutter wrote: >>> Am Wed, 21 Dec 2005 08:54:12 -0800 schrieb Tolga: >>> >>>> One or two weeks ago, I tried Python and loved it. >>> >>> What exactly did make you feel happy? >> What makes me happy about Python is subordination by indentation. >> Remember my thread on end matching, and how complex the answers >> became (one responder suggested getting a Ruby parser to do the >> job). That all becomes moot via subordination by indentation. >> If I screw up the indentation, I get either a syntax error or >> *very obvious* runtime error. >> SteveT >> Steve Litt >> http://www.troubleshooters.com >> slitt@troubleshooters.com > > Sorry, but the indentation feature of Python (along with the > mandatory prefix self of every class method) is one of the worst > design decisions made by a language designer, and is what turned me > away from Python to Ruby. > > That said, if there weren't a Ruby, I would still be a Pythonista! > > Baalbek > Excuse my newbi-ness, but isn't that "self rule" for class methods similar in Ruby? E.g. class A def self.a_class_method puts "A class method" end # OR def A.another_class_method puts "Another class method" end end ~ ryan ~