scope of malloc

Larry Jones scjones at thor.UUCP
Wed Nov 21 07:36:05 AEST 1990


In article <2229 at kraftbus.opal.cs.tu-berlin.de>, net at opal.cs.tu-berlin.de (Oliver Laumann) writes:
> In what way did the program fragment in my article qualify as spaghetti
> code?  Do you regard "callback functions" as a tangled control structure
> or an unstructured branching construct (in this case you must really
> hate X11 :-)

I don't know about Doug, but *I* sure reguard callbacks as both tangled
control structures and unstructured braches.  In fact, they seem to be
very closely related to the "altered goto" which seem to be held in more
or less universal contempt.  Mind you, I'm not saying they aren't USEFUL,
just that they're very hard to follow!  
----
Larry Jones                         UUCP: uunet!sdrc!thor!scjones
SDRC                                      scjones at thor.UUCP
2000 Eastman Dr.                    BIX:  ltl
Milford, OH  45150-2789             AT&T: (513) 576-2070
Archaeologists have the most mind-numbing job on the planet. -- Calvin



More information about the Comp.lang.c mailing list