Is the lcl_LocalFunction naming convention useful?
Kohei Yoshida
kohei.yoshida at gmail.com
Fri Oct 12 08:12:09 PDT 2012
On 10/09/2012 01:59 AM, Tor Lillqvist wrote:
> Where did this lcl_ convention come from? The lcl_ prefix has no
> meaning to a compiler or linker. If the intent is to make such
> functions file-local, why not use the static keyword, or an anonymous
> namespace instead, so that they actually *are* local also to the
> tool-chain? (You can still keep the lcl_ prefix if you love it.)
For the record, I hate this convention and I purposefully don't follow
it myself.
It just looks ugly. That's all my reason against it.
Kohei
--
Kohei Yoshida, LibreOffice hacker, Calc
More information about the LibreOffice
mailing list