Unifying singleton accessors

Mark Kretschmann kretschmann at kde.org
Sun Jul 7 11:01:29 UTC 2013


Hey all,

I really dislike that we use both "MyObject::instance()" and
"The::myObject()" as singleton accessors. IMO we should just use the
"instance()" pattern, as this is a common programming standard. The
other pattern is weird and Amarok-specific, and it also requires extra
boilerplate code.

Can we get rid of "The::myObject()" and standardize on "instance()"?

--
Mark Kretschmann
Amarok Developer
Fellow of the Free Software Foundation Europe
http://amarok.kde.org - http://fsfe.org


More information about the Amarok-devel mailing list