On Thu, Nov 27, 2008 at 5:12 PM, Brian Takita <[EMAIL PROTECTED]>wrote:
> I suppose that we can write our entire program with one LOC. I suppose > thats following YAGNI. Hell, why use do end? Its two extra lines of > code all over the place. That's not YAGNI. :) We need clarity now - there's no 'gonna' about it. I was responding to the idea that we should always use class << self in case we need the construct later. > >> I think we also like how consistent conventions and delineation of > >> responsibility make code faster to read and understand. > > > > Agreed, but I think this begs the question under discussion. > I don't follow. Can you clarify? > I just thought the statement above assumes the issues in contention in order to bolster its argument. It assumes that using def self.foo is not a consistent convention and doesn't delineate responsibility. That's not a given - it's one of the things we're discussing. ///ark
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users