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: 103376,ad988eb0a9545c86 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-23 18:16:28 PST Newsgroups: comp.lang.ada Path: newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!news2.euro.net!uunet!ash.uu.net!world!bobduff From: Robert A Duff Subject: Re: Problem trying to implement generics. Sender: bobduff@world.std.com (Robert A Duff) Message-ID: Date: Tue, 24 Apr 2001 01:15:34 GMT References: <9b7tce$laf$2@taliesin.netcom.net.uk> <3ADC4320.7ACA3DEC@averstar.com> <9bhoup$h9k$1@taliesin.netcom.net.uk> <3ADC7A79.8E853905@mindspring.com> <9bi7vb$9j7$1@taliesin.netcom.net.uk> <9bpacv$86n$2@a1-hrz.uni-duisburg.de> Organization: The World Public Access UNIX, Brookline, MA X-Newsreader: Gnus v5.3/Emacs 19.34 Xref: newsfeed.google.com comp.lang.ada:6872 Date: 2001-04-24T01:15:34+00:00 List-Id: Brian Rogoff writes: > How about just using the {} and having an optional } if; syntax? I suppose it's just a matter of taste, but I find "} if;" distasteful. > > And probably the {...} syntax couldn't have other control structures > > nested inside it -- it's only allowed for the innermost thing. > > > > Good idea? > > I don't like it. Why? > > Oh, and I'd like my editor to automatically convert from one to the > > other as "..." grows or shrinks. > > At this point, I say adopt indentation for block structure. But indentation only marks the *beginning* of the thing. > Funny you mentioned that, I've started using LaTeX again. Sometimes the > old ways are better :-). It amazes me that Knuth, who is orders of magnitude smarter than me, can design such an awful language. Writing TeX is like writing an assembly-language program to generate a document. Except TeX is more error-prone than most assembly languages. LaTeX is like programming in a *macro* assembly language, which has some advantages, but causes all error messages to be totally incomprehensible. > > BTW, I wish ASCII had left and right double-quote characters. That > > would be much more civilized. > > Oh well. Maybe the decision to restrict a language to ASCII will be viewed > in the future like Ada's current restrictions. There are certainly glyphs > that I'd use if I could but I think ASCII is a fair restriction for the > lexemes of the surface syntax of a language. Sigh. Maybe when Unicode is uniformly supported by all hardware and software... - Bob