Re: Private variables question



Bruce,

Kind of like prefixing classes with T, interfaces with I or arguments
with A (less common?).

I've also gotten into the habit of prefixing local variables with L.

I've recently started using L with local variables as well.
T for classes,
F for fields,
A for arguments and
L for locals variables.
I find it /really/ improves readability.

--
Dave
.



Relevant Pages

  • Re: "case structure" execution completion
    ... jspaarg wrote:I have gotten into the habit of using local variables. ... If you translate each statement into labview using local variables, it is the same as completely scrambling the statement order. ...
    (comp.lang.labview)
  • Re: Private variables question
    ... I've also gotten into the habit of prefixing local variables with ... I've recently started using L with local variables as well. ... I use G for global variables, C for constants and S for ...
    (borland.public.delphi.non-technical)
  • Re: Private variables question
    ... Dave Keighan wrote: ... I've also gotten into the habit of prefixing local variables with L. ...
    (borland.public.delphi.non-technical)
  • Re: good design & method calls
    ... append and upper become local variables. ... of small functions can carry a performance cost in Python. ... duplication, improving readability, generalizing, etc) ... Because in general focusing on improving performance is ...
    (comp.lang.python)