Re: A few beginner questions
Re: A few beginner questions
- Subject: Re: A few beginner questions
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 7 Apr 2008 23:32:51 +0200
Le 7 avr. 08 à 22:17, David Rowland a écrit :
For those that may not know what this is, it is declaring the
variable type in the name; for example dblNumberOne or intTempOne.
I was just curious, this teacher seems to be pretty good but his
code sometimes makes no sense or he do things certain ways, just
because that is the way you are supposed to do them, giving us no
reason for it.
The source code should BE the documentation as far as possible.
Knowing the type of a variable is important, but even more important
is knowing its purpose. If the name can reflect both, fine. Names
like "dblNumberOne" or "intTempOne" are little help.
Yes, and renaming all your variable from intTempOne to
nsintegerTempOne for 64 bits transition should be really funny. I
think i will continue to stay away from Hungarian notation. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden