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-Thread: 103376,ab1d177a5a26577d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news4.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: What's wrong with C++? Date: Thu, 17 Feb 2011 21:58:34 +0100 Organization: Ada @ Home Message-ID: References: <104cfd9f-dbf5-4f05-9c4a-a2319dd371a9@glegroupsg2000goo.googlegroups.com> NNTP-Posting-Host: QIaZeGkYuJ/9fpFW+x/p5g.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.01 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news2.google.com comp.lang.ada:18341 Date: 2011-02-17T21:58:34+01:00 List-Id: Le Thu, 17 Feb 2011 12:04:00 +0100, J-P. Rosen a =C3=A9= crit: > Le 17/02/2011 00:35, Peter C. Chapin a =C3=A9crit : >> A macro defined in someheader.h might change the meaning of the >> declarations in someotherheader.h. > And especially the following one: > #define private public > > Great for those who think that information hiding is a nuisance! I am not joking here : at the time I learned C/C++, I hired a book from = a = library, which was proudly stating C/C++ macros are so much powerful (si= c) = that one may "#define BEGIN {", "#define END }" and so on, so as to = happily write BASIC in C/C++ ! And that was not a book playing the fool = on = C/C++, that book was promoting C/C++. -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens. =E2=80=9CI am fluent in ASCII=E2=80=9D [Warren 2010]