are these bad names for variables?


recently, some global variables I am using just refuse to transfer value to some functions.
after being frustrated, I changed their names and everything starts work!!!


'tsize', 'vset0', 'conser'

are they some kind of internal function names or what ?

thanks
No, there's probably some variable shadowing going on.
But they're still bad variable names as they aren't descriptive.

I am using just refuse to transfer value to some functions.

You know, that's what parameters are for.
Last edited on


there's probably some variable shadowing going on.


thanks, how can I avoid such things for the future?
Don't reuse the variable names as parameter or local variables names. Though I really agree with Athar.
Topic archived. No new replies allowed.