Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hi Stephan,

On Mon, 28 Sep 2015 10:38:54 +0200, Stephan Bergmann <sbergman@redhat.com> wrote:
On 09/23/2015 07:39 AM, Takeshi Abe wrote:
commit 5ca4acf877834c51d896268cf3dd390903b2248b
(snip)
Just a small remark: With "plain" structs that only contain (public, non-static)
member variables and no member functions, it often makes sense to not decorate
the member variable names.

As there are no member functions, there is never any ambiguity whether use of a
name denotes a member or local variable, and accessing the member variables
"from the outside" typically reads more natural as

  desc->pNode

than as

  desc->m_pNode
I agree the above argument is reasonable.
Thanks a lot for your remark.

Cheers,
-- Takeshi Abe

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.