From: Jamis Buck Date: 2004-10-12T02:20:50+09:00 Subject: Re: quality of error messages Austin Ziegler wrote: > On Fri, 8 Oct 2004 08:36:27 +0900, markus@reality.com > wrote: > >> That said, it really doesn't hurt as bad as you'd think it would, >>since the main thing people differ on is where to put the closing token >>(e.g., does the "end" or "}" go at the indentation of the enclosed block >>or the inclosing block) and that issue vanishes if you don't have closing >>tokens. I suspect that (if warned) most rubiests would find: >> >> class My_class >> attr_reader :an_atribute >> def initialize a1,a2 >> @an_attribute = a1 >> @counter = 0 >> @limit = a2 >> def feed_the_lion food >> raise "Roar" unless food.respond_to? :digestible_by >> raise "Grrr" unless food.digestible_by self >> digest food >> >> waffle = My_class.new :fred,14 >> >>perfectly readable (and writable) without all the syntactic clutter/noise. > > > I don't find it readable at all. > I completely, 100%, in every way, concur with Austin. I detest any attempt to enforce an arbitrary indentation style upon me. It's why I chucked Python just months after first learning about it. But that's just my opinion. - Jamis -- Jamis Buck jgb3@email.byu.edu http://www.jamisbuck.org/jamis