Using "Me"

S

Scott M.

It's only a poor choice when one developer has created all the code. In
most cases, a developer is using types created by someone else and so, they
have no control of the type/member/parameter names. In this common
scenario, naming collisions can occur, which is why a more full
qualification of the type is a simple way to solve the problem.

Using Me narrows the memory locations that the compiler must look for a type
match much like using namespace names would.

-Scott
 
J

James Hahn

Considering that the two lines involved are immediately adjacent to each
other, I think we are dealing with a case of one developer creating all the
code.
 
S

Scott M.

Yes, but I was speaking in more general terms.


James Hahn said:
Considering that the two lines involved are immediately adjacent to each
other, I think we are dealing with a case of one developer creating all
the code.
 
Top