RFC: Structure of background parser and language support

Kris Wong wongk at seapine.com
Wed Jul 18 12:08:08 UTC 2007


> do you really need to use singletons in the 4th generation of  
> KDevelop? :-) I have nothing against singletons. I know people do  
> amazing stuff with them (see eclipse). But, I really think you  
> shouldn't use singletons in KDevelop 4, they just make the code flow  
> more difficult to follow. For example, you don't even know when the  
> instance is created.

Technically since it's declared using K_GLOBAL_STATIC, it's instantiated
when it's first accessed.  As I said in my other email, though, I'll
change it.

Kris Wong




More information about the KDevelop-devel mailing list