On 11 Jan 2008 11:07:52 -0800, [EMAIL PROTECTED] (Ted MacNEIL) wrote: >>Some OO languages produce lots of memory leaks in the real world - but there >>aren't nearly so many memory leaks in the procedural world. > >Is that the fault of the compiler or the programmer? >When I learned C++, I was taught about cleaning up after yourself, just like I >was with COBOL or assemblker.
Does it matter where the fault is? The characteristics of a programming paradigm are dependent upon the total environment - none of these changes could have been implemented if hardware didn't get so much cheaper. One of the attractions of OO is the supply of programmers. What we get is what we get. Java decided to simplify the Programmer's tasks by doing more housekeeping and limiting "difficult" concepts such as multiple inheritance. That was probably a good idea considering the major component of the programming project - the programmer. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

