You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Alex Karasulu <ao...@bellsouth.net> on 2005/11/01 20:11:50 UTC
[Coding Conventions] What's this l_, a_, m_, s_ prefix madness for
variables?
While I'm at it ...
I'm embarrassed to say this is an old style I used in the past as a
C-coder before there were nice IDEs. I used to use emacs (not Xemacs
which is for kids :-)) most of the time to edit my code in xterms so I
did not see declarations and the prefix helped understand the scope of
the variables.
Those days are long gone and I have not used this convention in years.
The code that contains these variable prefixes must have been written 3+
years ago. With modern IDEs there is no need to prefix these variables
any longer. If you see this usage please feel free to whipe it out, but
please do make sure assignments are ok. Do not just mass remove l_, m_
but make sure you use 'this.' to replace m_.
Alex
Re: [Coding Conventions] What's this l_, a_, m_, s_ prefix madness for variables?
Posted by Trustin Lee <tr...@gmail.com>.
OK, I'll. :)
Cheers,
Trustin
2005/11/2, Alex Karasulu <ao...@bellsouth.net>:
>
> While I'm at it ...
>
> I'm embarrassed to say this is an old style I used in the past as a
> C-coder before there were nice IDEs. I used to use emacs (not Xemacs
> which is for kids :-)) most of the time to edit my code in xterms so I
> did not see declarations and the prefix helped understand the scope of
> the variables.
>
> Those days are long gone and I have not used this convention in years.
> The code that contains these variable prefixes must have been written 3+
> years ago. With modern IDEs there is no need to prefix these variables
> any longer. If you see this usage please feel free to whipe it out, but
> please do make sure assignments are ok. Do not just mass remove l_, m_
> but make sure you use 'this.' to replace m_.
>
> Alex
>
>
--
what we call human nature is actually human habit
--
http://gleamynode.net/