Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!ames!zodiac!joyce!sri-unix!quintus!pds From: pds@quintus.uucp (Peter Schachte) Newsgroups: comp.sys.amiga Subject: Re: C++ (Lattice) -- First impressions... Keywords: C++,review Message-ID: <614@quintus.UUCP> Date: 2 Nov 88 00:29:05 GMT References: <16021@agate.BERKELEY.EDU> <32@ssibbs.UUCP> <16220@agate.BERKELEY.EDU> Sender: news@quintus.UUCP Reply-To: pds@quintus.UUCP (Peter Schachte) Organization: Quintus Computer Systems, Inc. Lines: 22 In article <16220@agate.BERKELEY.EDU> pete@violet.berkeley.edu (Pete Goodeve) writes: About Lattice C++: >> > ALL the Exec and Intuition structures are now OBJECTS, with associated >> > methods to manipulate them. >> if you were starting from scratch in C++ you'd probably hide all that >> data and write accessor functions to access it. >I'm not entirely convinced of this yet. Accessor functions mean a lot of >overhead Couldn't you get around this by making the accessors macros? As I recall, Stroustroup's (sp???) book has several examples of this sort of thing. So you get clean, safe, and efficient code. What more could you ask for? Pnews fodder to stretch the posting -Peter Schachte "Clean water? I'm for clean water." pds@quintus.uucp -George Bush ..!sun!quintus!pds