if i use the filename as variable name

  • Thread starter Thread starter DotNetMania
  • Start date Start date
D

DotNetMania

i use the filename as variable name such as...

Image of btnADD Button is btnADD.gif.......

splash logo Image of panel panLogo is panLogo...

i wonder if i use like above...what kind of problem would occur?

is it easy for hacker to debug my program?

i want to know general problem would occur....


best regards..
 
what kind of problem would occur?

None that I can see, unless you depend on the names always being equal
(which could break if you ever change the control name or file name).

is it easy for hacker to debug my program?

No easier than with any other naming scheme. And frankly, I don't see
why a hacker would care about your control names.



Mattias
 
Back
Top