[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Re-layout
From:       Tim Jansen <tim () tjansen ! de>
Date:       2001-09-16 14:52:36
[Download RAW message or body]

On Sunday 16 September 2001 16:26, Martijn Klingens wrote:
> Something that starts with a capital letter in KDE is a class or an enum
> member. If it is all capitals then it is a #define or other macro. If it
> starts with m_ then it is a class data member and in all other cases it is
> a local variable. Easy, isn't it?

IMHO the "m_" makes things look complicated. My point was that in short 
functions it is always obvious which variable is local. If you really want a 
convention you should find a easier one, like the netscape convention of 
using a "m" prefix for members and "a" for arguments.

bye...


 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic