comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Rogoff <bpr@shell5.ba.best.com>
Subject: Re: Problem trying to implement generics.
Date: Tue, 24 Apr 2001 02:00:26 GMT
Date: 2001-04-24T02:00:26+00:00	[thread overview]
Message-ID: <Pine.BSF.4.21.0104231829060.2555-100000@shell5.ba.best.com> (raw)
In-Reply-To: <wccg0ezt7wp.fsf@world.std.com>

On Tue, 24 Apr 2001, Robert A Duff wrote:
> Brian Rogoff <bpr@shell5.ba.best.com> 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.

I was trying to capture the readability of the Ada end ...; constructions,
which I miss in other languages, with some suitability as a very
lightweight delimiter, useable even with inline function definitions. 
Could be an overconstrained problem.

> > > 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?

I generally don't like fairly arbitrary restrictions like that one. Why
not allow nesting {}? I have philosophically similar objections to
automatically "use"ing infix operators. I prefer to handle operators like 
other functions. 

> > > 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.

Language design is a skill, and just becuase someone excels in some subset
of talents doesn't necessarily mean they are skilled everywhere. Remember, 
Knuth still uses a mock assembly language to describe algorithms in this 
books. Yuck!

I agree TeX and LaTeX suck as languages, but the TeX program is very cool
and I really prefer it to may of the WYSIWYG tools I suffered through
before my return to the LaTeX fold. 

> 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.

That's all true, and I'd probably use Lout but for all of the other
reasons we use a piece of software. Besides, I much prefer it to the
commercial offerings. 

-- Brian





  reply	other threads:[~2001-04-24  2:00 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-11 15:04 Problem trying to implement generics Ayende Rahien
2001-04-12  1:41 ` tmoran
2001-04-12 13:15   ` Ayende Rahien
2001-04-12 18:15     ` tmoran
2001-04-13 11:18       ` Ayende Rahien
2001-04-13 10:35         ` chris.danx
2001-04-13 11:54           ` Ayende Rahien
2001-04-13 11:49             ` chris.danx
2001-04-13 23:03               ` Ayende Rahien
2001-04-13 23:01                 ` Robert A Duff
2001-04-14  0:05                   ` Brian Rogoff
2001-04-14  1:12                     ` Ayende Rahien
2001-04-14  1:44                       ` Brian Rogoff
2001-04-14 14:03                         ` Dmitry A. Kazakov
2001-04-14 16:30                           ` Ayende Rahien
2001-04-14 16:28                             ` Michael Erdmann
2001-04-15  3:27                             ` James Rogers
2001-04-15 12:20                               ` Ayende Rahien
2001-04-15 14:09                               ` Dmitry A. Kazakov
2001-04-15 18:22                                 ` tmoran
2001-04-15 13:48                             ` Dmitry A. Kazakov
2001-04-15 20:44                               ` Ayende Rahien
2001-04-16 14:34                                 ` Dmitry A. Kazakov
2001-04-14  1:33                     ` Robert A Duff
2001-04-17  8:50                     ` Jean-Pierre Rosen
2001-04-17 13:20                   ` Tucker Taft
2001-04-17 16:51                     ` Ayende Rahien
2001-04-17 17:16                       ` Larry Hazel
2001-04-17 18:11                         ` Brian Rogoff
2001-04-17 19:10                           ` Marin David Condic
2001-04-17 21:08                             ` Brian Rogoff
2001-04-18 15:16                               ` Chad R. Meiners
2001-04-18 16:33                                 ` Marin David Condic
2001-04-17 21:09                             ` chris.danx
2001-04-17 21:11                             ` chris.danx
2001-04-17 21:17                             ` chris.danx
2001-05-08  5:40                             ` Lao Xiao Hai
2001-05-11  9:43                               ` John English
2001-05-12 19:16                                 ` Lao Xiao Hai
2001-04-17 19:32                           ` Larry Hazel
2001-04-17 21:03                           ` Ayende Rahien
2001-04-18 15:48                             ` Brian Rogoff
2001-04-20 12:34                               ` Georg Bauhaus
2001-04-20 12:42                                 ` Lutz Donnerhacke
2001-04-20 12:45                                 ` Lutz Donnerhacke
2001-04-20 19:48                                 ` Brian Rogoff
2001-04-20 20:36                                   ` David Starner
2001-04-20 23:02                                   ` Robert A Duff
2001-04-23  2:45                                     ` Brian Rogoff
2001-04-24  1:15                                       ` Robert A Duff
2001-04-24  2:00                                         ` Brian Rogoff [this message]
2001-04-24 15:12                                           ` Georg Bauhaus
2001-04-24 15:09                                         ` Georg Bauhaus
2001-04-24 18:36                                           ` Marius Amado Alves
2001-04-19 13:08                           ` Larry Kilgallen
     [not found]                           ` <9bi4g4$97m$1@nh.pace.Organization: LJK Software <YlSyXUaQmD+$@eisner.encompasserve.org>
2001-04-19 14:20                             ` Marin David Condic
2001-04-18  5:34                       ` Mike Silva
2001-04-18 16:55                       ` Ray Blaak
2001-04-24 16:00                       ` Tucker Taft
2001-04-12 13:57 ` Andy
2001-04-13  6:34   ` Simon Wright
2001-04-13 11:11   ` Ayende Rahien
2001-04-12 18:06 ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox