From: azrael@... Date: 2006-04-14T02:25:43+09:00 Subject: Re: Equivalent of Java static code block in Ruby? On Fri, Apr 14, 2006 at 01:26:24AM +0900, Tanner Burson wrote: > On 4/13/06, azrael@cream.org wrote: > > > > > > > > I think all you would do by adding another division here, is confuse > > > matters. Currently I think it's pretty clear. > > > > > > > I think I agree with you. One shouldn't do stuff simply because that's > > the way Java does it. If anything, quite the opposite. > > > > Although, it's not true that all code in a class is executed at class > > load time. Most of the code typically will only be called on > > instantiation of an object, and sometimes it's helpful not to mix the > > two up too thoroughly. > > > Other than code inside of methods what are you referring to? > Non-static initializers of instance variables too. Teh usual. Martin