Re: Namelist Internal Read

From: James Giles (jamesgiles_at_worldnet.att.net)
Date: 03/29/05


Date: Mon, 28 Mar 2005 23:39:00 GMT

Walt Brainerd wrote:
> gary.l.scott@lmco.com wrote:
>
>> I've also never quite understood the need for the quirky &.../
>> syntax.
>
> It's the same reason as the inconsistent names for
> the bit intrinsics. I am not sure where namelist
> came from originally, but probably some vendor did
> it many years ago and some individual thought up
> what seemed like a neat scheme at the time.
>
> When it came up for standardization, "existing
> practice" was picked, rather than a nicer design.

Actually, I don't think the standard adopted the same syntax as
any of the prior existing implementations. Maybe. But it's
different from the several I used before (each different from
the others as well). If they adopted "existing practice" for
this, I don't know what implementation they got it from.

> [Take note, ye who complain that the standards
> committee never adopts existing practice.]

The purpose of adopting existing practice is to avoid pitfalls
of features. A feature defined from scratch with which no one
has experience is more likely to have subtle faults and unexpected
interactions with the rest of the language. Further , such a feature
may not even be needed: since there is no body of experience,
there is no way to estimate whether a majority (or even more
than a tiny minority) would even find it useful.

-- 
J. Giles
"I conclude that there are two ways of constructing a software
design: One way is to make it so simple that there are obviously
no deficiencies and the other way is to make it so complicated
that there are no obvious deficiencies."   --  C. A. R. Hoare


Relevant Pages

  • Re: If you got to choose the syntax, what would you do?
    ... This is sufficient to let the host examine target memory, ... compiled code, and execute that code. ... But that doesn't tell me what syntax you use in Forth. ... In terms of our current practice, there is no 'syntax' beyond the command byte followed by the data. ...
    (comp.lang.forth)
  • Re: Call for signatories for J2
    ... It's very possible that we might end up with @pie syntax or nothing. ... My recollection of the discussion regarding decorators (which I ... The feature might be ripped out ...
    (comp.lang.python)
  • Re: Beyond CL?
    ... >> - This feature interacts very nicely with the new syntax. ... >> better than AREF or NTH (I really dislike AREF, ...
    (comp.lang.lisp)
  • Re: Method as first class member
    ... On Tue, May 20, 2008 at 4:55 PM, Robert Klemme ... I believe we get shorter, more intuitive code with this kind of syntax, ... metaprogrammers and DSL writers it would be a *convenient* feature. ... IMHO making Ruby a functional language does not ...
    (comp.lang.ruby)
  • Re: VB6 Feature not included in .NET
    ... encapsulation - did not support inheritance. ... I used to think I would never need inheritance for much - if anything. ... is it a best practice to spread your ... It was a really useful feature. ...
    (microsoft.public.dotnet.languages.vb)