Topic: goto bypasses initialization of local variable: so what? let me decide!


Author: "Tony" <tony@my.isp.net>
Date: Tue, 24 Apr 2001 23:26:05 GMT
Raw View
With the rule in the subject line enforced, some of the benefit of being
able to declare variables
anywhere within a function, not just at the top, is lost. I don' t mean this
to turn into a discussion
about whether or not 'goto' should be used at all though. I find the error
msg annoying. What are
your opinions?

Tony

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html                ]