From: Primary Key Date: 2006-04-02T08:57:55+09:00 Subject: Re: (Static) Constructors/Destructors in Ruby Jim Weirich wrote: >> 2. It can be helpful for meta-programming purposes. My impression is >> most languages try to implement the traditional OO tools on class >> (static) level > > I'm not getting statement #2 above. Please consider the evolution of the class-level language features: 1. C++ - static member variables 2. Java - static members and static initialization blocks 3. C# - static members and static constructors I think there is a clear pattern of implementing more and more of the object-level OO features on class (static) level. I believe the next logical step will be a language support for static destructors. As far as meta-progamming is concerned the static features will beef up the class level in the object-class-metaclass triad. Again, this is just the personal opinion of a "evil" legacy(Java) programmer :-) Thanks again, Primary Key -- Posted via http://www.ruby-forum.com/.