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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f51e93dacd9c7fca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-18 02:35:37 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!dialin-145-254-035-157.arcor-ip.NET!not-for-mail From: Dmitry A.Kazakov Newsgroups: comp.lang.ada Subject: Re: status of Ada STL? Date: Tue, 18 Jun 2002 23:40:55 +0200 Message-ID: References: Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: dialin-145-254-035-157.arcor-ip.net (145.254.35.157) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: fu-berlin.de 1024392936 8648228 145.254.35.157 (16 [77047]) User-Agent: KNode/0.4 Xref: archiver1.google.com comp.lang.ada:26218 Date: 2002-06-18T23:40:55+02:00 List-Id: Frank J. Lhota wrote: >> But then there is no necessity in having two different symbols for > equality >> and assignment. Make both "="! > > If memory serves correctly, that was the PL/1 approach: within a context > where a Boolean expression is expected, "=" tests for equality; outside of > such contexts, "=" was assignment. At the time, PL/1's syntax was > criticized for being confusing for the reader, if not the compiler. We may > wish to exercise caution before adopting context-sensitive interpretation > of operators. PL/1 was a wonder. You never knew the outcome of any expression you wrote. Wasn't something like that the goal of the original poster? (:-)). So I expected that he would immediately embrace my "improvement", and then we could go further and replace most of symbols with "="! I thought about ".", "=>" etc. So that a valid program would appear sort of white noise to an innocent reader. (:-)) I remember in the times of punched cards people used all card columns when programmed in PL/1 (it has a free syntax like Ada) to reduce the number of cards (one payed per card). The result was like an output of UUENCODE. What a fun was to read such programs! -- Regards, Dmitry Kazakov www.dmitry-kazakov.de