From: "Michał Zając" Date: 2010-06-15T02:40:08+09:00 Subject: Re: Do I overuse class methods? W dniu 2010-06-14 15:33, Robert Klemme pisze: > > As a compromise Michael could use module Singleton and thus define > instance methods without the overhead of creating new instances all > the time. > I think this is interesting idea. I have spent much time in Java / C# environments with heavy use of dependency injection pattern so maybe this is source of my aversion to stateless classes manual instantiation - usually something else has done it for me :D Using Singleton pattern is more similar to Service Locator but it may be good alternative. Thanks