Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!megatest!pat From: pat@megatest.UUCP (Patrick Powers) Newsgroups: comp.software-eng Subject: Re: OO Design with "C" - Do we still get benefits Message-ID: <16423@megatest.UUCP> Date: 29 Mar 91 21:50:46 GMT References: <1991Mar22.212448.21375@news.larc.nasa.gov> <1353@glinda.ctron.com> <91087.141220UH2@psuvm.psu.edu> Reply-To: pat@megatest.UUCP (Patrick Powers) Organization: Megatest Corporation, San Jose, Ca Lines: 11 I've been maintaining a C program for which the implementor chose to implement inheritance himself. It is very to extremely verbose, and the pointers to functions are very difficult to trace, much worse than gotos. It is possible, even a good idea, to write C code in an object oriented style, but inheritance requires compiler support for all practical purposes. I'm sure there is some ingenious way to do it with macros, but if you are going to go that far why not use C++? -- --