Free Republic
Browse · Search
News/Activism
Topics · Post Article

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.
93 posted on 11/15/2005 5:35:06 PM PST by microgood
[ Post Reply | Private Reply | To 88 | View Replies ]


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.)
[ Post Reply | Private Reply | To 93 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson