Re: grid
I think using this-> makes the program look funny and since it's unnecessary
typing I tend to avoid it. I do type in this-> if I want intellisense to
show me a list of functions or variables, then I cut it back out after the
fact.
I do like that when I type :: intellisense will show me the SDK functions in
the namespace. That's a handy way to not have to remember all the names.
Of course, the names are not so subjective in that case :o)
I use m_ for "member" variable and on the infrequent times I use global
variables I use g_. I also use s_ for singletons, but all of that is
totally subjective.
Tom
"MrAsm" <mrasm@usa.com> wrote in message
news:h5hp23lcp4mmf4v18m6k352l3hqi1lu9rq@4ax.com...
On Mon, 23 Apr 2007 07:25:05 -0700, "Tom Serface"
<tom.nospam@camaswood.com> wrote:
Hi Tom,
I think most of this is subjective.
Yes, you're are right...
For example, I tend to use m_ prefix for member variables, while
others just use explicit this-> .
What is the best practice? :)
Maybe it is just subjective...
Thanks,
MrAsm