To: js1138
Not if you want to keep your job.
Not necessarily true. I have seen at the bottom of some small functions where there are multiple failure paths that have the same cleanup needs, like releasing the memory for BSTRs and such. It is pretty rare, but I have seen some real accomplished and talented programmers use it.
But it definitely is not the way to set up any kind of structure, that is for sure.
To: microgood
My rule of thumb was, if you couldn't see the entire function on one screen, it was time to break it up. Obviously switch statements couldn't always follow this rule, but I loathed deeply nested conditionals.
I never used a goto.
96 posted on
11/15/2005 5:39:42 PM PST by
js1138
(Great is the power of steady misrepresentation.)
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson