From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: ** X-Spam-Status: No, score=2.1 required=5.0 tests=BAYES_20,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d15b,97482af7429a6a62 X-Google-Attributes: gid10d15b,public X-Google-Thread: 103376,97482af7429a6a62 X-Google-Attributes: gid103376,public X-Google-Thread: 109fba,97482af7429a6a62 X-Google-Attributes: gid109fba,public From: osinski@valis.cs.nyu.edu (Ed Osinski) Subject: Re: C++ not OOP? (Was: Language Efficiency Date: 1995/04/21 Message-ID: <3n942v$5tj@cmcl2.NYU.EDU>#1/1 X-Deja-AN: 101369178 distribution: world references: <3mbmd5$s06@icebox.mfltd.co.uk> <3mcfbf$psl@acmez.gatech.edu> <3mgnkc$e3j@atlantis <3muaif$46u@atlantis.utmb.edu> <3n0lsu$nio@druid.borland.com> <3n0uvi$8jt@atlantis.utmb.edu> organization: New York University reply-to: osinski@cs.nyu.edu newsgroups: comp.lang.c++,comp.lang.ada,comp.lang.cobol Date: 1995-04-21T00:00:00+00:00 List-Id: In article <3n0uvi$8jt@atlantis.utmb.edu>, Curtis Bass writes: |> pete@borland.com (Pete Becker) wrote: |> |> -- snip -- |> |> > Suppose you are evaluating a new language, say, C+#, and you |> > hear from a reliable source that it is a "pure OOPL". What conclusions |> > can you draw about this language that would tell you whether it is |> > better suited to your purposes than, say, C+$, which is not a "pure |> > OOPL"? |> |> The conclusions that I would draw are: |> |> #1. All code must be attached to objects. - snip - |> iv. Since it is a pure OOPL, there is a great |> likelihood that the language itself is of |> a fairly simple and elegant design. OTOH, |> C+$ will probably be a very complex language, |> since it supports two different programming |> paradigms (structured and OO). Also, with |> C+#, I can rest assured that the syntax is |> uniform (all procedures will have an object |> ID prefix). C+$ would allow me to have SOME ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |> procedures WITH an object ID prefix, and some ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |> WITHOUT one. This could lead to confusion for ^^^^^^^^^^^^ I just want to point out that this is not necessarily true. Ada95 is an example where *all* procedure calls, whether they are 'methods' or not, look the same. |> the maintenance programmers. Also, such code |> would represent a rather messy, inelegant |> design, which would be less of an option in C+#. - snip - |> Curtis Bass |> Software Systems Specialist II |> University of Texas Medical Branch -- --------------------------------------------------------------------- Ed Osinski Computer Science Department, New York University E-mail: osinski@cs.nyu.edu --------------------------------------------------------------------- In the early years of the 16th century, to combat the rising tide of religious unorthodoxy, the Pope gave Cardinal Ximinez of Spain leave to move without let or hindrance throughout the land, in a reign of violence, terror and torture that makes a smashing film. This was the Spanish Inquisition... -- Monty Python's Flying Circus