The 'Me' keyword
-
Should I or should I not be using the 'Me' keyword to reference local objects and properties? Is it recommended or is it just a matter of coding style?
-
Should I or should I not be using the 'Me' keyword to reference local objects and properties? Is it recommended or is it just a matter of coding style?
It seems to be a matter of personal choice. Microsoft recommends its use, but many decry it. I am mainly a C# coder and I tend to use the C# equivalent 'this', as it helps me to distinguish between members which are local - to a block and those that are local - to a class. I have yet to see anything that might be called definitive, except for the MS Coding Style Guidelines[^], in case you are interested.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
It seems to be a matter of personal choice. Microsoft recommends its use, but many decry it. I am mainly a C# coder and I tend to use the C# equivalent 'this', as it helps me to distinguish between members which are local - to a block and those that are local - to a class. I have yet to see anything that might be called definitive, except for the MS Coding Style Guidelines[^], in case you are interested.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
Ok great, thanks for the help :)