Re: Private variables question
- From: "Pieter Zijlstra" <p.zylstra.notthis@xxxxxxxxx>
- Date: Wed, 30 Apr 2008 15:34:39 +0200
Phill Harvey-Smith wrote:
This is more from a mater of interest than any technical reason, but
there seems to be a lot of code around where the private variables
are called FSomething e.g.
What I guess i'm asking is why prefix it with 'F' ?
F is for Field (of object).
I have been tending to use 'Pr' in my own code for Private,
Way too much typing :)
I guess the compiler does not care,
Nope.
just wondered why it seemed to be a convention ?
CodeGear does so in all their sources. It helps to distinguish between
properties and the (private) fields of a class. Like T for
types/classes and I for Interfaces.
--
Pieter
.
- References:
- Private variables question
- From: Phill Harvey-Smith
- Private variables question
- Prev by Date: Re: Private variables question
- Next by Date: Re: Don't know the word for it but Application Server .exe client
- Previous by thread: Re: Private variables question
- Next by thread: Re: Private variables question
- Index(es):