Re: Private variables question
- From: " Tom Corey" <omtay.oreycay@xxxxxxxxxxxxxxx>
- Date: 30 Apr 2008 09:42:44 -0700
Bruce McGee wrote:
I've also gotten into the habit of prefixing local variables with L.
This isn't so much to make them easier to spot (which it does), but to
make it less likely that a logically named local variable name won't
inadvertently hide another identifier with a higher scope and avoiding
difficult to find bugs.
Hmmm, that has a certain appeal. Especially in light of our 75,000
lines of
distinctly-procedural-despite-having-been-written-in-Delphi-spaghetti-co
de.
/rant narrowly averted
.
- Follow-Ups:
- Re: Private variables question
- From: Bruce McGee
- Re: Private variables question
- References:
- Private variables question
- From: Phill Harvey-Smith
- Re: Private variables question
- From: Bruce McGee
- Private variables question
- Prev by Date: Re: Multi core
- Next by Date: Re: RAD Studio Roadmap Updated
- Previous by thread: Re: Private variables question
- Next by thread: Re: Private variables question
- Index(es):
Relevant Pages
|