Re: a history question
From: James Giles (jamesgiles_at_worldnet.att.net)
Date: 09/28/04
- Next message: beliavsky_at_aol.com: "Re: KIND related issues on NAGware f95 v 4.1"
- Previous message: glen herrmannsfeldt: "Re: KIND related issues on NAGware f95 v 4.1"
- Maybe in reply to: Bob: "a history question"
- Next in thread: Rich Townsend: "Re: a history question"
- Reply: Rich Townsend: "Re: a history question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Sep 2004 21:59:20 GMT
beliavsky@aol.com wrote:
...
> (3) The changing role of POINTERs in the language seems a little funny to
> me. In Fortran 90/95 POINTERs can be used in structure components and in
> procedure arguments in places where ALLOCATABLE arrays cannot be, but in
> the F95 technical reports and the F2003 standard these restrictions are being
> removed, and ALLOCATABLE arrays will be preferred for these uses (IMO). In
> F2003 POINTERs will still be useful in referring to array sections, but this
> seems like a minor issue, and I'm not sure what the other uses of POINTERs
> will be.
I'm convinced that pointers to array slices are a mistake, so
pointers should be irrelevant when the new features of
ALLOCATABLEs are available. F8x (the proposed
version preceeding the F90 language that was eventually
adopted) didn't have pointers and did allow much of what
finally is being allowed in F2003 for ALLOCATABLEs.
I made the mistake of criticising F8x on that basis. I'm
now convinced that F8x was on the right track. (In fact,
it was the arcane and still problematical POINTER
feature that F90 came out with that convinved me.)
-- 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
- Next message: beliavsky_at_aol.com: "Re: KIND related issues on NAGware f95 v 4.1"
- Previous message: glen herrmannsfeldt: "Re: KIND related issues on NAGware f95 v 4.1"
- Maybe in reply to: Bob: "a history question"
- Next in thread: Rich Townsend: "Re: a history question"
- Reply: Rich Townsend: "Re: a history question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|