Path: utzoo!utgpu!water!watmath!clyde!att-cb!att-ih!pacbell!ames!pasteur!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga Subject: Re: malloc() prob. on 3.4a Message-ID: <8804160509.AA08340@cory.Berkeley.EDU> Date: 16 Apr 88 05:09:33 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 16 :> You may accuse me of being lazy, but it works, and I think it makes :>my code more readable. : :I don't think it improves readability. It seems to me you have the :choice of doing either: : Glorp *GetGlorp(); : Glorp a_glorp; : : a_glorp = GetGlorp(); Obviously. But what happens when you use AllocMem() to allocate a structure, then an array of something, then some other structure, etc....? void * gets to be *real* useful and makes code a lot easier to understand. -Matt