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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!feeder2.cambriumusenet.nl!feeder3.cambriumusenet.nl!feed.tweaknews.nl!195.238.0.231.MISMATCH!news.skynet.be!aioe.org!not-for-mail From: Cesar Rabak Newsgroups: comp.lang.eiffel,comp.lang.ada Subject: Re: Alternatives to C: ObjectPascal, Eiffel, Ada or Modula-3? Date: Thu, 23 Jul 2009 22:19:14 -0300 Organization: Aioe.org NNTP Server Message-ID: References: <24b1e02c-ef00-4adf-be11-e65277fc095c@j32g2000yqh.googlegroups.com> NNTP-Posting-Host: xrijvtPb6x0VD3jpDlCJGA.user.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Antivirus-Status: Clean X-Notice: Filtered by postfilter v. 0.7.9 X-Antivirus: avast! (VPS 090513-0, 13/05/2009), Outbound message Cancel-Lock: sha1:YiaQsUA42MKv5LotPCNUDjcFK6E= User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) Xref: g2news2.google.com comp.lang.eiffel:401 comp.lang.ada:7301 Date: 2009-07-23T22:19:14-03:00 List-Id: Colin Paul Gloster escreveu: > On Wed, 22 Jul 2009, Simon J. Wright wrote: > > |--------------------------------------------------------------------| > |"[..] | > | | > |And what will happen to this distinction with Point (2.0, 2.0);? | > | | > |You could use named parameter association, but *much* better to use | > |proper types -- | > | | > |type Cartesian_Coordinate is record | > | X : Metres; | > | Y : Metres; | > |end record; | > | | > |which makes it easy to (for instance) create appropriate functions | > |"+", "-", "*", "/"." | > |--------------------------------------------------------------------| > > Oh dear, Mr. Wright is nearly as bad as Mr. Rabak. Dr. Meyer gave an > example of overloading which Eiffel can perform Since you citing me (incorrectly) and write this: > which he claimed that > Ada can not manage. Writing a wrong assertion about a book it seems you only read a summary made before a term exam, I suggest you get the text you implied you were mentioning, specially the four paragraph on page 94 (OOSC 2nd ed.) and pay attention to was is *actually* written there. > The pseudo-Ada example by Dr. Meyer did not have a > record, and a less minor upgrade than adding a record was sufficient > to show that Dr. Meyer did not know what he was writing about. Yes it did have a record because this perversion of creating a lot of nicknames for solving a problem B. Meyer proposed a different approach. If mentioning Ada hurts so much your feelings, rest assured the same could be said about C++ :-) Please keep the discussion on the technical aspects and don't make personal attacks: they do not add anything to enlightenment for anybody.