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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,c890e6ab3fb2c5fc X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,c890e6ab3fb2c5fc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-29 10:19:02 PST Newsgroups: comp.lang.ada,comp.lang.c++ Path: nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!news.moneng.mei.com!hookup!swrinde!pipex!uunet!mole-end!mat From: mat@mole-end.matawan.nj.us Subject: Re: ADA Objects Help! Message-ID: <1995Jan29.181902.23255@mole-end.matawan.nj.us> Organization: : References: <3f9g1u$j4m@nps.navy.mil> <3fu6qc$pc5@gnat.cs.nyu.edu> Date: Sun, 29 Jan 1995 18:19:02 GMT Xref: nntp.gmd.de comp.lang.ada:18407 comp.lang.c++:88403 Date: 1995-01-29T18:19:02+00:00 List-Id: In article , ka@socrates.hr.att.com (Kenneth Almquist) writes: > swdecato@cs.nps.navy.mil wrote: > I don't know about you, but when I issue a command in English I place the > verb before the noun, as in "Mow the lawn." This translates naturally to > the C or Ada code: > > mow(lawn); > > The C++ alternative, > > lawn->mow(); > > is backwards. > > Not to make too big a deal about this--either order (noun before verb or > verb before noun) is readable once you get used to it. ... When something seems backwards, often it is. What you really mean is lawn->be_thou_mowd(); Now, is this part of the interface provided for a lawn mower to access? -- (This man's opinions are his own.) From mole-end Mark Terribile mat@mole-end.matawan.nj.us, Somewhere in Matawan, NJ (Training and consulting in C, C++, UNIX, etc.)