home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.system
- Path: sparky!uunet!cs.utexas.edu!tamsun.tamu.edu!bpb9204
- From: bpb9204@tamsun.tamu.edu (Brent)
- Subject: Re: Windows NT (Not a flame.) and C++ comments
- Message-ID: <1992Jul21.192200.18180@tamsun.tamu.edu>
- Followup-To: comp.sys.mac.system
- Summary: C++ is not for everything.
- Sender: bpb9204@tamsun.tamu.edu
- Organization: Texas A&M Univ., Inc.
- References: <1992Jul21.124631.8584@msc.cornell.edu>
- Date: Tue, 21 Jul 1992 19:22:00 GMT
- Lines: 46
-
- maynard@esther.msc.cornell.edu (Maynard J. Handley) writes:
- | We hear about how great object-orientation is (and I
- |agree completely- I now shudder at the thought of coding in anything but
- |C++) but what does object-orientation for OS get you, that a decent C++ API
- |to a traditional OS does not?
-
- You are right, OOP is a good thing, but its features certainly can't be
- used for everything. I'd personally shudder at writing a UNIX C compiler
- in C++. What would the objects be? Would they be function definitions?
- Could they feasibly be individual statements where compound statement objects
- would have other statement objects? Yes, you could write it in C++ without
- using all the object stuff, but the basic compilation process is too
- algorithmically intensive to bother with objects. The ++ overhead would
- slow down numerous method calls (the way C++ objects are implemented).
-
- The almost-classic example of an OOP application is the object
- drawing program. This type of application lends itself greatly
- to OOP. (A program like MacDraw).
-
- These above questions are exactly what I asked a fellow classmate in my
- compiler design class. We had to write a Pascal compiler using whichever
- system we wanted. I did it straightforwardly in C, and he talked about doing
- it in C++. He didn't turn in a working project. This has two interpretations:
- either the C++ realm was not fit for the project, or his programming skills
- weren't fit for the project. I personally think it was a combination of
- the two; he had heard how great C++ is for everything and that he was trying
- to make it work, but couldn't get it going. I think this is more the case
- because of what I know about him. However, I'll never know for sure.
-
-
- |Will Apple have to face the inevitable, and become a sort of high level
- |utility provider company, selling modules for the WinNT kernel that give it
- |a decent user interface with all the Mac customizability and ease of use we
- |expect?
-
- ...or will our BatCorporation escape the wrath and silliness of the computer
- industry to remain the leaders they always potrayed themselves as?
- Stay tuned, same battime, same batchannel...
-
-
- -Brent
- --
- +-------------------------+ Pale Terror trembling guards the fountain's head,
- |Brent P. Burton, N5VMG | And rouses Fancy on her wakeful bed;
- |bpb9204@tamsun.tamu.edu | From realms of viewless spirits tears the veil,
- +-------------------------+ And there reveals the unutterable tale. - M. Lewis
-