Static functions

Ian Reinhart Geiser geiseri at
Mon Jan 12 14:30:02 GMT 2004

On Monday 12 January 2004 08:56 am, Bo Thorsen wrote:
> I just convinced myself it was time to remind everyone of this old 
> feature: Static functions. I know lots of you already know about this 
> feature, but I've seen too many places where it isn't used, so I thought 
> I'd give a heads up on it.

we have found adding library level namespaces + statics help clean up code 
extensively.  as OO dogma around us leads us to put everything in a class we 
tend to have a few extra methods that dont fit anywhere....  there is a 
tendency to put these in a utility class.  we have found its just as easy 
(and remarkably clean) to put them in a namespace, and leave them as static.

Just my 2c
-ian reinhart geiser
--:Ian Reinhart Geiser <geiseri at>
--:Public Key:
--:Public Calender:
--:Jabber: geiseri at
--:Be an optimist -- at least until they start moving animals in 
--:   pairs to Cape Canaveral. ~ Source Unknown

More information about the kde-core-devel mailing list