Re: [libertyeiffel] May this apply?
- Cyril Adrian
- 2010-07-30 @ 20:06
On Fri, Jul 30, 2010 at 00:38, Paolo Redaelli <firstname.lastname@example.org>wrote:
> Please read this from a long-time hacker
> I do not know that pattern; may it be useful to "get rid" of singletons
> in Eiffel?
I don't think so. There is no DI framework in Eiffel, and anyway singletons
are well defined and easily de-singletonized thanks to the handy "once"
features that can be redefined.
Note that the main drawback of singletons is that they hinder testability.