C
CMM
Do gurus like Kathleen Dollard frequent these forums? I wonder what she has
to say about "Hungarian Notation" thread above. It seems that with her work
in "Code Generation" she'd be well qualified to offer input.
I think the VB.NET community needs to address this. It's about time! Other
developer communities have settled on standards... why can't the VB
community? We look stupid for not having done so after all this time.
It seems to me that (radical strays notwithstanding... like using p_ to
prefix parameters) there are only two contraversies left remaining.
1) naming locally dim'd variables (either local to a method or class level)
2) naming controls
Everything else is covered well in Microsoft's OM Naming Guidelines.
We can also learn from their MS's Patterns & Practices frameworks VB source
code as well! In MS's Application Blocks they use camelCase for all local
variables (from what I've seen). They also use it for UI controls!... which
I don't exactly like but I see the rationale... they're not properties...
they're really class variables. I personally like to treat them as
properties nowadays.... but this is exactly why we need a good standard!
By developing a standard maybe the VB community will shed a lot of the
stigmatism and the body of our work might be easier to maintain and not be
seen as a thing to be derided. Every time I open a VB project that someone
else wrote, I shouldn't have to hold my breath in anticipation of the
horrors that await or adapt to one persons peculiar coding standard.
to say about "Hungarian Notation" thread above. It seems that with her work
in "Code Generation" she'd be well qualified to offer input.
I think the VB.NET community needs to address this. It's about time! Other
developer communities have settled on standards... why can't the VB
community? We look stupid for not having done so after all this time.
It seems to me that (radical strays notwithstanding... like using p_ to
prefix parameters) there are only two contraversies left remaining.
1) naming locally dim'd variables (either local to a method or class level)
2) naming controls
Everything else is covered well in Microsoft's OM Naming Guidelines.
We can also learn from their MS's Patterns & Practices frameworks VB source
code as well! In MS's Application Blocks they use camelCase for all local
variables (from what I've seen). They also use it for UI controls!... which
I don't exactly like but I see the rationale... they're not properties...
they're really class variables. I personally like to treat them as
properties nowadays.... but this is exactly why we need a good standard!
By developing a standard maybe the VB community will shed a lot of the
stigmatism and the body of our work might be easier to maintain and not be
seen as a thing to be derided. Every time I open a VB project that someone
else wrote, I shouldn't have to hold my breath in anticipation of the
horrors that await or adapt to one persons peculiar coding standard.