[rfc][icedtea-web] immutbale transaltor
Jiri Vanek
jvanek at redhat.com
Fri Sep 19 13:52:45 UTC 2014
On 09/19/2014 03:47 PM, Stanislav Baiduzhyi wrote:
> On Friday 19 September 2014 15:34:53 Jiri Vanek wrote:
>> Oh definitely not. Acctually I'm big fan of singletons. And I prefer theirs
>> usages over static where possible.
>
> Huh. You're just exchanging evil for little lesser evil, that's it. Try Guice
> and forget about the issue all together. You'll have both cleaner code and
> testability, and there will be no need to fight for the best implementation of
> singleton.
>
Fair enough. Dependency injection is cure for most of this kind of issues.
J.
More information about the distro-pkg-dev
mailing list