Re: [java-gnome-hackers] sourceview development branch
Brought to you by:
afcowie
From: Stefan S. <ste...@gm...> - 2009-05-21 08:04:13
|
On Thu, 2009-05-21 at 09:48 +1000, Andrew Cowie wrote: > The only thing that really caught my eye so far was > LanguageManager.getDefault(); my *personal* taste is that I dislike > static functions anywhere other than library initialization. Another option would be to turn LanguageManager into a real singleton and only call that function when the singleton instance is created. The LanguageManager would then be accessed like this: LanguageManager.getInstance(); that does not remove the static method but would make it more explicit that you are using one. Maybe that would fit better? |