G
gw7rib
I was modifying a program recently, and felt that I hadn't really got
the responsibilities of the various classes quite right. Consequently
I was having to use "this" a lot. It got me thinking - do people use
the presence of "this" to suggest that there might be problems? Do
they view it, like "goto", as something for which there are legitimate
uses but which in general indicates that a piece of code has not been
fully thought through? Or does it have no such stigma?
All thoughts welcome!
Paul.
the responsibilities of the various classes quite right. Consequently
I was having to use "this" a lot. It got me thinking - do people use
the presence of "this" to suggest that there might be problems? Do
they view it, like "goto", as something for which there are legitimate
uses but which in general indicates that a piece of code has not been
fully thought through? Or does it have no such stigma?
All thoughts welcome!
Paul.