Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!uflorida!unf7!shite From: shite@unf7.UUCP (Stephen Hite) Newsgroups: comp.sys.mac.programmer Subject: HandleObject vs. 5+ meg of RAM and Virtual Memory Message-ID: <279@unf7.UUCP> Date: 6 Jul 90 15:41:09 GMT Organization: Univ. of N. Florida, Jacksonville Lines: 22 If I have 5 or 8 meg of RAM and virtual memory (a.k.a System 7.0.2 :-)) is it really *worth* the limitations of using HandleObject? Some of limitations are (as taken from the MPW C++ Beta Manual): 1. You can't "...declare global variables, local variables, arrays, members, or parameters of handle-based types (rather than pointers to them)." 2. You can't use multiple inheritance (as discussed previously ad nauseum). 3. "It is not possible to allocate an array of handle-based objects, for example, new MyObjects[10]." 4. You cannot "...take a pointer to a field of an indirect class (i.e., &x->y). This restriction includes the implicit use of pointers by ref- erences, such as int& p = x->y." There are a few more mentioned on pages 27 and 28 but I think I've included the main ones. I feel like I'm trying to build a tree or forest of objects and all the while I have to keep in mind that the ground below me is constantly moving :-). I can see it now..."Programmer's Guidelines to MPW C++" or "MPW C++...What Bjarne Stroustrup Didn't Tell You"...that'll be $35 pleeez.