[Kde-games-devel] A design issue when using C++

Kevin Krammer kevin.krammer at gmx.at
Sun Mar 15 15:43:34 CET 2009


HI Ian,

On Sunday 15 March 2009, Ian Wadham wrote:
> Hi Kevin,
>
> Thank you very much for your excellent and clear advice.

You're welcome :)

> On Sat, 14 Mar 2009 9:43:34 pm Kevin Krammer wrote:

[snip]

> Your suggestion and example are really neat.  I must say that I had always
> regarded the "friends" feature of C++ with some suspicion, as an enemy of
> implementation hiding, but you have shown how to use it to "choose your
> friends" and enhance hiding.

There are probably even cleaner ways (maybe by using inner classes) of doing 
it, however using friends makes the example shorter and easier to 
understand :)

> > Kevin Krammer, KDE developer, xdg-utils developer
> > KDE user support, developer mentoring
>
> Is "developer mentoring" a support group where people can discuss design
> and programming concerns?  I am retired and work alone at home and am
> self-taught in Linux, KDE and C++, though I used to work a lot in Unix and
> C.

Not exactly.
I basically mean the developer centered form of user support, i.e. helping 
developers with problems they encounter, mostly on mailinglists like this one 
and forums.

I think our mailinglist are also meant to be used for general development 
discussions such as design, since conclusions might actually be valuable for 
others as well.

However, while mailinglists are usually more efficient for getting specific 
questions answered, I prefer web forums for more generic discussions since 
they allow for properly indented code examples, code highlighting, and 
threads can later on be cleaned up and moved to a tips+tutorials section.

I am not sure if there are enough developers on forum.kde.org to make it 
worthwhile, but there are certainly on qtcentre.org [1].

Cheers,
Kevin

[1] disclaimer: I am one of the site's founders so I am biased :)

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20090315/b6d56bb0/attachment.sig 


More information about the kde-games-devel mailing list