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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!rt.uk.eu.org!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: Seeking for papers about tagged types vs access to subprograms Date: Wed, 15 May 2013 06:24:49 +0200 Organization: Ada @ Home Message-ID: References: <12gn9wvv1gwfk.10ikfju4rzmnj.dlg@40tude.net> NNTP-Posting-Host: ll7JxPeHtfBeoFl5nDW1Dg.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/12.15 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 X-Original-Bytes: 2499 Xref: number.nntp.dca.giganews.com comp.lang.ada:181659 Date: 2013-05-15T06:24:49+02:00 List-Id: Le Tue, 14 May 2013 21:56:14 +0200, Robert A Duff = a =C3=A9crit: > Furthermore, lots of programs do NOT want that two-level structure. > They just want a sequence of characters, with one (not two!) > particular character that means "line break". They want to have > code like: > > ... loop > case Current_Char is > ... That's a corner case, and why Ada should do pre=E2=80=91tokenization for= this = single case? If end=E2=80=91of=E2=80=91line is made of two characters in= some = environments, then the end of line token is not a character, or else it'= s = a character in a kind of internal character set (what most people surely= = do, indeed, and that's out of the standard). -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity